Skip to content

Commit

Permalink
Add Typedoc definitions and categories (#1127)
Browse files Browse the repository at this point in the history
* Add Typedoc definitions and categories

* Add markdown option
  • Loading branch information
thenerdassassin authored Jul 31, 2023
1 parent 89cdaa3 commit bea2b4c
Show file tree
Hide file tree
Showing 11 changed files with 671 additions and 265 deletions.
14 changes: 14 additions & 0 deletions .config/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"categorizeByGroup": false,
"categoryOrder": ["Main Classes", "API Response Types", "API Models", "*"],
"entryPoints": ["../src/index.ts"],
"excludePrivate": true,
"excludeReferences": true,
"includeVersion": true,
"out": "../docs",
"validation": {
"notExported": true,
"invalidLink": true,
"notDocumented": true
}
}
119 changes: 118 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"bundle": "browserify lib/index.js -o lib/bundle.js",
"check-types": "tsc --noEmit --project tsconfig.json",
"coverage-report": "nyc report --reporter=lcov",
"docs-build": "typedoc --out docs src/index.ts",
"docs-build": "typedoc",
"docs-build-md": "typedoc --plugin typedoc-plugin-markdown",
"eslint:check": "eslint . --max-warnings 0 --ext .js,.ts",
"eslint:fix": "npm run eslint:check -- --fix",
"postinstall": "husky install || exit 0",
Expand Down Expand Up @@ -67,7 +68,8 @@
"prettier-package-json": "^2.8.0",
"ts-node": "10.9.1",
"typechain": "^8.0.0",
"typedoc": "^0.24.0",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.4",
"typescript": "^5.1.3"
},
"keywords": [
Expand Down
Loading

0 comments on commit bea2b4c

Please sign in to comment.