Skip to content

Commit

Permalink
Attempt converting to html
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed May 1, 2024
1 parent 31ea129 commit e33184b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/r18gs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Utilize this hook similarly to the `useState` hook. However, ensure to pass a un
const [state, setState] = useRGS<number>("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

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/r18gs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 ."
},
Expand Down
2 changes: 1 addition & 1 deletion lib/r18gs/typedoc.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e33184b

Please sign in to comment.