Skip to content

Commit

Permalink
docs: ensure referenced types are included in typedoc site (#2960)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound authored Oct 13, 2022
1 parent 827c3ea commit e22e5b2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"sinon-chai": "^3.6.0",
"ts-node": "^10.0.0",
"typedoc": "^0.22.15",
"typedoc-plugin-missing-exports": "^1.0.0",
"typedoc-plugin-rename-defaults": "^0.6.4",
"typescript": "^4.6.3",
"xvfb-maybe": "^0.2.1"
Expand Down
3 changes: 2 additions & 1 deletion tools/gen-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import * as typedoc from 'typedoc';
excludePrivate: true,
excludeProtected: true,
hideGenerator: true,
plugin: ['typedoc-plugin-rename-defaults'],
externalPattern: ['**/node_modules/@types/node/**'],
plugin: ['typedoc-plugin-rename-defaults', 'typedoc-plugin-missing-exports'],
});

const projReflection = typedocApp.convert();
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9084,6 +9084,11 @@ typedarray-to-buffer@^3.1.5:
dependencies:
is-typedarray "^1.0.0"

typedoc-plugin-missing-exports@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/typedoc-plugin-missing-exports/-/typedoc-plugin-missing-exports-1.0.0.tgz#7212a2cfaba7b48264df4b4110f3a5684b5c49a1"
integrity sha512-7s6znXnuAj1eD9KYPyzVzR1lBF5nwAY8IKccP5sdoO9crG4lpd16RoFpLsh2PccJM+I2NASpr0+/NMka6ThwVA==

typedoc-plugin-rename-defaults@^0.6.4:
version "0.6.4"
resolved "https://registry.yarnpkg.com/typedoc-plugin-rename-defaults/-/typedoc-plugin-rename-defaults-0.6.4.tgz#8019bbfdbb4616682a0af8ecf1e8f42d053d4a40"
Expand Down

0 comments on commit e22e5b2

Please sign in to comment.