Skip to content

Commit

Permalink
[ML] Adds x-pack/packages directory to api_docs setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Jun 24, 2022
1 parent d5e6928 commit 0cc0cb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/kbn-docs-utils/src/api_docs/build_api_docs_cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ function getTsProject(repoPath: string) {
skipAddingFilesFromTsConfig: true,
});
project.addSourceFilesAtPaths([`${repoPath}/x-pack/plugins/**/*.ts`, '!**/*.d.ts']);
project.addSourceFilesAtPaths([`${repoPath}/x-pack/packages/**/*.ts`, '!**/*.d.ts']);
project.addSourceFilesAtPaths([`${repoPath}/src/plugins/**/*.ts`, '!**/*.d.ts']);
project.addSourceFilesAtPaths([`${repoPath}/packages/**/*.ts`, '!**/*.d.ts']);
project.resolveSourceFileDependencies();
Expand Down

0 comments on commit 0cc0cb5

Please sign in to comment.