Skip to content

Commit

Permalink
feat(cli): add ignore files starts from underline (#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feverqwe authored Nov 19, 2024
1 parent 954606a commit dc1d0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steps/processExcludedFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function processExcludedFiles() {
includeBasePath: true,
globs: ['**/*.md', '**/index.yaml', ...ignore],
// Ignores service directories like "_includes", "_templates" and etc.
ignore: ['**/_*/**/*'],
ignore: ['**/_*/**/*', '**/_include--*'],
});
const navigationPaths = TocService.getNavigationPaths().map((filePath) =>
convertBackSlashToSlash(resolve(inputFolderPath, filePath)),
Expand Down

0 comments on commit dc1d0fa

Please sign in to comment.