portosaurus 0.16.7 → 0.16.9

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.

@@ -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
- const require = createRequire(import.meta.url);
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
 
@@ -1,13 +1,13 @@
1
- import { loadUserConfig } from './src/cli/utils/config-loader.js';
2
1
  import { createRequire } from 'module';
3
- const require = createRequire(import.meta.url);
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
- import fs from 'fs';
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) {
@@ -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: "img/profile.png", // Create this image in src/img/
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "portosaurus",
3
- "version": "0.16.7",
3
+ "version": "0.16.9",
4
4
  "license": "GPL-3.0",
5
5
  "author": "soymadip",
6
6
  "description": "Complete portfolio cum personal website solution for your digital personality",
@@ -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: "img/profile.png", // Create this image in src/img/
20
+ profile_pic: "https://github.com/github.png", // Create this image in src/img/
21
21
  },
22
22
 
23
23
  about_me: {
@@ -0,0 +1,18 @@
1
+ ---
2
+ id: index
3
+ title: Notes Index
4
+ sidebar_label: Index
5
+ slug: /
6
+ ---
7
+
8
+ # Notes
9
+
10
+ Welcome to your personal knowledge base!
11
+
12
+ This is the index page for your notes. You can organize your content by adding more Markdown files to the `notes` directory.
13
+
14
+ ## Getting Started
15
+
16
+ 1. Edit `docusaurus.config.js` (or `config.js`) to customize your site.
17
+ 2. Add content to `notes/`.
18
+ 3. Add blog posts to `blog/`.