Skip to content

Commit

Permalink
docs: generate from jsdoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayushman Chhabra committed Jun 30, 2023
1 parent 7a1af62 commit 3848a2e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions doc/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ export default defineConfig({
text: "Windows Specific Options",
link: "/api-win.md#winrc-object",
},
{
text: "MacOS Specific Options",
link: "/api-osx.md#osxrc-object",
},
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"scripts": {
"fmt": "prettier --write \"./**/*.{css,html,js,json,md,yml}\"",
"lnt": "eslint --config=cfg/eslint.config.cjs --fix src",
"doc:api": "jsdoc2md ./src/index.js > ./doc/api.md && jsdoc2md ./src/bld/linuxCfg.js > ./doc/api-nux.md && jsdoc2md ./src/bld/winCfg.js > ./doc/api-win.md",
"doc:api": "jsdoc2md ./src/index.js > ./doc/api.md && jsdoc2md ./src/bld/linuxCfg.js > ./doc/api-nux.md && jsdoc2md ./src/bld/winCfg.js > ./doc/api-win.md && jsdoc2md ./src/bld/osxCfg.js > ./doc/api-osx.md",
"doc:dev": "vitepress dev doc",
"doc:bld": "vitepress build doc",
"test:unit": "node --test-reporter=spec --test test/unit/index.js",
Expand Down
3 changes: 0 additions & 3 deletions test/fixture/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@ await nwbuild({
platform: "osx",
outDir: "out",
glob: false,
app: {
name: "Random",
},
});

0 comments on commit 3848a2e

Please sign in to comment.