Open
Description
Feature request
In my project, I am upgrade project from gitbook to vuepress, and I find that some stale files are being add .unused.md
suffix. and I finish a summay-plugin to provide sidebars like gitbooks. The summary-plugin will parse SUMMARY.md
, and it is useless for vuepress.
What problem does this feature solve?
to provide a plugin API, developers could ignore some useless markdown files.
const patterns = ['**/*.md', '**/*.vue', '!.vuepress', '!node_modules']
if (this.siteConfig.dest) {
// #654 exclude dest folder when dest dir was set in
// sourceDir but not in '.vuepress'
const outDirRelative = path.relative(this.sourceDir, this.outDir)
if (!outDirRelative.includes('..')) {
patterns.push('!' + outDirRelative)
}
}
const pageFiles = sort(await globby(patterns, { cwd: this.sourceDir }))
How should this be implemented in your opinion?
Are you willing to work on this yourself?
ok