File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ function stripPath(path) {
62
62
function runTypedoc ( ) {
63
63
const typeSource = apiType === 'node' ? tempNodeSourcePath : sourceFile ;
64
64
const command = `${ repoPath } /node_modules/.bin/typedoc ${ typeSource } \
65
+ --tsconfig ${ repoPath } /scripts/docgen/tsconfig.json \
65
66
--out ${ docPath } \
66
67
--readme ${ tempHomePath } \
67
68
--options ${ __dirname } /typedoc.js \
@@ -331,7 +332,9 @@ Promise.all([
331
332
fs . unlink ( tempNodeSourcePath ) ;
332
333
}
333
334
// Devsite doesn't like css.map files.
334
- return fs . unlink ( `${ docPath } /assets/css/main.css.map` ) ;
335
+ if ( await fs . exists ( `${ docPath } /assets/css/main.css.map` ) ) {
336
+ fs . unlink ( `${ docPath } /assets/css/main.css.map` ) ;
337
+ }
335
338
} )
336
339
// Write out TOC file. Do this after Typedoc step to prevent Typedoc
337
340
// erroring when it finds an unexpected file in the target dir.
You can’t perform that action at this time.
0 commit comments