diff --git a/lib/r18gs/README.md b/lib/r18gs/README.md index 082bdb44..14c708fd 100644 --- a/lib/r18gs/README.md +++ b/lib/r18gs/README.md @@ -28,7 +28,7 @@ Utilize this hook similarly to the `useState` hook. However, ensure to pass a un const [state, setState] = useRGS("counter", 1); ``` -> For detailed instructions, see [Getting Started](./md-docs/1.getting-started.md) +> For detailed instructions, see [Getting Started](./md-docs/1.getting-started) ## Using Plugins @@ -48,7 +48,7 @@ Now, you can utilize `useMyPersistentCounterStore` similarly to `useState` witho const [persistedCount, setPersistedCount] = useMyPersistentCounterStore(); ``` -> For detailed instructions, see [Leveraging Plugins](./md-docs/2.leveraging-plugins.md) +> For detailed instructions, see [Leveraging Plugins](./md-docs/2.leveraging-plugins) ## Contributing diff --git a/lib/r18gs/package.json b/lib/r18gs/package.json index ef141909..30c8dbee 100644 --- a/lib/r18gs/package.json +++ b/lib/r18gs/package.json @@ -23,7 +23,7 @@ "scripts": { "test": "vitest run --coverage", "build": "tsup src && tsc -p tsconfig-build.json", - "doc": "cp ../../README.md . && typedoc && md2html -f ../../md-docs/1.getting-started.md -o ../../docs/1.getting-started.html -p", + "doc": "cp ../../README.md . && typedoc && md2html -f ../../md-docs/1.getting-started.md -o ../../docs/md-docs/1.getting-started.html -p && md2html -f ../../md-docs/2.leveraging-plugins.md -o ../../docs/md-docs/2.leveraging-plugins.html -p", "publish-package": "cp ../../README.md . && npm publish --provenance --access public", "lint": "eslint ." }, diff --git a/lib/r18gs/typedoc.config.js b/lib/r18gs/typedoc.config.js index 1a7aed2a..50020e87 100644 --- a/lib/r18gs/typedoc.config.js +++ b/lib/r18gs/typedoc.config.js @@ -12,7 +12,7 @@ module.exports = { GitHub: "https://github.com/react18-tools/react18-global-store", }, sidebarLinks: { - "Getting Started": "./md-docs/1.getting-started.md", + "Getting Started": "./md-docs/1.getting-started", }, plugin: [ "typedoc-plugin-mdn-links",