File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1414if [[ -n " $CI " || ! -d example/docs ]]; then
1515 cd example
1616 pnpm i
17+ # Ignoring warnings here because we inherit from Array, which results in
18+ # a few warnings because the docs in the .d.ts have bad @param comments
19+ # We might want to change TypeDoc's validation logic to make this not a
20+ # warning at some point if the relevant comments show up on both signatures.
1721 pnpm run typedoc --logLevel Error
1822 cd ..
1923fi
2226git show $( git describe --tags --abbrev=0) :CHANGELOG.md | sed ' s/#* Unreleased//' > site/generated/CHANGELOG.md
2327
2428# Build the actual site, references the API docs
25- node bin/typedoc --options site/typedoc.config.jsonc
29+ node bin/typedoc --options site/typedoc.config.jsonc --treatWarningsAsErrors
2630
2731# Create/copy static files
2832node scripts/generate_options_schema.js docs-site/schema.json
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://typedoc.org/schema.json" ,
33 "logLevel" : " Verbose" ,
4+ "treatWarningsAsErrors" : true ,
45
56 "entryPointStrategy" : " merge" ,
67 "entryPoints" : [],
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ export {
139139 MinimalSourceFile ,
140140 type NormalizedPath ,
141141 type NormalizedPathOrModule ,
142+ type NormalizedPathOrModuleOrFunction ,
142143 type SymbolReference ,
143144 type TranslatedString ,
144145 translateTagName ,
You can’t perform that action at this time.
0 commit comments