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 14
14
if [[ -n " $CI " || ! -d example/docs ]]; then
15
15
cd example
16
16
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.
17
21
pnpm run typedoc --logLevel Error
18
22
cd ..
19
23
fi
22
26
git show $( git describe --tags --abbrev=0) :CHANGELOG.md | sed ' s/#* Unreleased//' > site/generated/CHANGELOG.md
23
27
24
28
# 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
26
30
27
31
# Create/copy static files
28
32
node scripts/generate_options_schema.js docs-site/schema.json
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://typedoc.org/schema.json" ,
3
3
"logLevel" : " Verbose" ,
4
+ "treatWarningsAsErrors" : true ,
4
5
5
6
"entryPointStrategy" : " merge" ,
6
7
"entryPoints" : [],
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ export {
139
139
MinimalSourceFile ,
140
140
type NormalizedPath ,
141
141
type NormalizedPathOrModule ,
142
+ type NormalizedPathOrModuleOrFunction ,
142
143
type SymbolReference ,
143
144
type TranslatedString ,
144
145
translateTagName ,
You can’t perform that action at this time.
0 commit comments