portosaurus 0.16.7 → 0.16.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of portosaurus might be problematic. Click here for more details.
package/docusaurus.config.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import type { Config } from '@docusaurus/types';
|
|
2
2
|
import type * as Preset from '@docusaurus/preset-classic';
|
|
3
|
-
import { loadUserConfig } from './src/cli/utils/config-loader.js';
|
|
4
3
|
import { createRequire } from 'module';
|
|
4
|
+
import fs from 'fs';
|
|
5
|
+
import path from 'path';
|
|
6
|
+
import { fileURLToPath } from 'url';
|
|
5
7
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
+
import { loadUserConfig } from './src/cli/utils/config-loader.js';
|
|
8
9
|
import generateFaviconPlugin from './src/utils/generateFavicon.js';
|
|
9
10
|
import generateRobotsTxtPlugin from './src/utils/generateRobotsTxt.js';
|
|
10
11
|
import { metaTags } from './src/config/metaTags.js';
|
|
11
12
|
import { catppuccinMocha, catppuccinLatte } from './src/config/prism.js';
|
|
12
|
-
import fs from 'fs';
|
|
13
|
-
import path from 'path';
|
|
14
|
-
import { fileURLToPath } from 'url';
|
|
15
13
|
|
|
14
|
+
const require = createRequire(import.meta.url);
|
|
16
15
|
const __filename = fileURLToPath(import.meta.url);
|
|
17
16
|
const __dirname = path.dirname(__filename);
|
|
18
17
|
|
package/lib/docusaurus.config.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { loadUserConfig } from './src/cli/utils/config-loader.js';
|
|
2
1
|
import { createRequire } from 'module';
|
|
3
|
-
|
|
2
|
+
import fs from 'fs';
|
|
3
|
+
import path from 'path';
|
|
4
|
+
import { fileURLToPath } from 'url';
|
|
5
|
+
import { loadUserConfig } from './src/cli/utils/config-loader.js';
|
|
4
6
|
import generateFaviconPlugin from './src/utils/generateFavicon.js';
|
|
5
7
|
import generateRobotsTxtPlugin from './src/utils/generateRobotsTxt.js';
|
|
6
8
|
import { metaTags } from './src/config/metaTags.js';
|
|
7
9
|
import { catppuccinMocha, catppuccinLatte } from './src/config/prism.js';
|
|
8
|
-
|
|
9
|
-
import path from 'path';
|
|
10
|
-
import { fileURLToPath } from 'url';
|
|
10
|
+
const require = createRequire(import.meta.url);
|
|
11
11
|
const __filename = fileURLToPath(import.meta.url);
|
|
12
12
|
const __dirname = path.dirname(__filename);
|
|
13
13
|
function resolveResource(relativePath) {
|
package/lib/templates/config.js
CHANGED
|
@@ -15,7 +15,7 @@ const config = {
|
|
|
15
15
|
title: "Your Name",
|
|
16
16
|
profession: "Software Engineer",
|
|
17
17
|
description: "Building the future, one line of code at a time.",
|
|
18
|
-
profile_pic: "
|
|
18
|
+
profile_pic: "https://github.com/github.png", // Create this image in src/img/
|
|
19
19
|
},
|
|
20
20
|
about_me: {
|
|
21
21
|
enable: true,
|
package/package.json
CHANGED
package/templates/config.js
CHANGED
|
@@ -17,7 +17,7 @@ const config = {
|
|
|
17
17
|
title: "Your Name",
|
|
18
18
|
profession: "Software Engineer",
|
|
19
19
|
description: "Building the future, one line of code at a time.",
|
|
20
|
-
profile_pic: "
|
|
20
|
+
profile_pic: "https://github.com/github.png", // Create this image in src/img/
|
|
21
21
|
},
|
|
22
22
|
|
|
23
23
|
about_me: {
|