Skip to content

Commit

Permalink
fix: 失效的侧边栏
Browse files Browse the repository at this point in the history
  • Loading branch information
mark9804 committed Nov 23, 2024
1 parent 642c57f commit fc84bef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/.vitepress/configs/sidebarConfig.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
export const sidebarConfig = {
documentRootPath: "/docs/posts",
documentRootPath: "/docs",
scanStartPath: "/posts/",
resolvePath: "/posts/",
useTitleFromFileHeading: true,
useTitleFromFrontmatter: true,
useFolderTitleFromIndexFile: true,
Expand All @@ -20,7 +22,7 @@ export const sidebarConfig = {
// manualSortFileNameByPriority: ['first.md', 'second', 'third.md'],
// removePrefixAfterOrdering: false,
// prefixSeparator: '.',
excludePattern: ["tags.md"],
excludePattern: ["tags.md", "quavers"],
// excludeFilesByFrontmatter: false,
// includeDotFiles: false,
// includeRootIndexFile: false,
Expand Down

0 comments on commit fc84bef

Please sign in to comment.