Skip to content

Commit

Permalink
Merge pull request #11162 from IgniteUI/typedoc-fix
Browse files Browse the repository at this point in the history
fix(typedoc): adding to excluded paths
  • Loading branch information
ChronosSF authored Mar 4, 2022
2 parents f9db7af + 2f1a5cd commit 983387e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,7 @@ jobs:
uses: coverallsapp/[email protected]
with:
github-token: ${{ github.token }}
- name: Build TypeDoc & SassDoc
run: |
npm run build:typedoc:en:production
npm run build:sassdoc:en:production
8 changes: 4 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ module.exports.copySchematics = (cb) => {
const typedocBuildTheme = (cb) => {
spawnSync(`typedoc`, [TYPEDOC.PROJECT_PATH,
"--tsconfig",
path.join(__dirname,"tsconfig.json")], { stdio: 'inherit', shell: true });
path.join(__dirname,"tsconfig.typedoc.json")], { stdio: 'inherit', shell: true });
cb();
};
typedocBuildTheme.displayName = 'typedoc-build:theme';
Expand Down Expand Up @@ -200,7 +200,7 @@ function typedocImportJsonFn(cb) {
TYPEDOC.EXPORT_JSON_PATH,
"--warns",
"--tsconfig",
path.join(__dirname,"tsconfig.json")],
path.join(__dirname,"tsconfig.typedoc.json")],
{ stdio: 'inherit', shell: true});
cb();
}
Expand All @@ -226,7 +226,7 @@ function typedocBuildDocsJA (cb) {
'--localize',
'jp',
"--tsconfig",
path.join(__dirname,"tsconfig.json")], { stdio: 'inherit', shell: true });
path.join(__dirname,"tsconfig.typedoc.json")], { stdio: 'inherit', shell: true });

cb();
}
Expand All @@ -237,7 +237,7 @@ function typedocBuildDocsEN (cb) {
'--localize',
'en',
"--tsconfig",
path.join(__dirname,"tsconfig.json")], { stdio: 'inherit', shell: true});
path.join(__dirname,"tsconfig.typedoc.json")], { stdio: 'inherit', shell: true});

cb();
}
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
"exclude": [
"dist",
"projects/igniteui-angular/migrations/",
"projects/igniteui-angular/schematics/"
"projects/igniteui-angular/schematics/",
"projects/igniteui-angular/cypress/",
"cypress/",
"e2e/"
],
"typedocOptions": {
"out": "dist/igniteui-angular/docs/typescript",
Expand Down
1 change: 0 additions & 1 deletion tsconfig.typedoc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"exclude": [

"dist",
"projects/igniteui-angular/migrations/",
"projects/igniteui-angular/schematics/",
Expand Down

0 comments on commit 983387e

Please sign in to comment.