Skip to content

Commit d3fc1f3

Browse files
committed
fix(typedoc): pass typedoc options properly Closes #7693
1 parent df73766 commit d3fc1f3

File tree

3 files changed

+122
-92
lines changed

3 files changed

+122
-92
lines changed

gulpfile.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ module.exports.copySchematics = (cb) => {
135135
};
136136

137137
const typedocBuildTheme = (cb) => {
138-
spawnSync(`typedoc`, [TYPEDOC.PROJECT_PATH], { stdio: 'inherit', shell: true });
138+
spawnSync(`typedoc`, [TYPEDOC.PROJECT_PATH,
139+
"--tsconfig",
140+
"tsconfig.base.json"], { stdio: 'inherit', shell: true });
139141
cb();
140142
};
141143
typedocBuildTheme.displayName = 'typedoc-build:theme';
@@ -208,7 +210,9 @@ function typedocBuildDocsJA (cb) {
208210
TYPEDOC.TEMPLATE_STRINGS_PATH,
209211
'--warns',
210212
'--localize',
211-
'jp'], { stdio: 'inherit', shell: true });
213+
'jp',
214+
"--tsconfig",
215+
"tsconfig.base.json"], { stdio: 'inherit', shell: true });
212216

213217
cb();
214218
}
@@ -217,7 +221,9 @@ function typedocBuildDocsEN (cb) {
217221
spawnSync('typedoc', [
218222
TYPEDOC.PROJECT_PATH,
219223
'--localize',
220-
'en'], { stdio: 'inherit', shell: true});
224+
'en',
225+
"--tsconfig",
226+
"tsconfig.base.json"], { stdio: 'inherit', shell: true});
221227

222228
cb();
223229
}

0 commit comments

Comments
 (0)