We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
现在遇到一个问题:当我在items: 'auto'的情况下有README.md或者index.md,在侧边栏中会重复显示这个文件
需要一个frontmatter配置(index: boolean),可以在sidebar的情况下,控制这个文章是否在侧边栏中显示
No response
The text was updated successfully, but these errors were encountered:
这里不需要额外的控制。实际上这里的自动生成没有达到我的预期。 我虽然考虑到了 items: 'auto' 的场景,但是没有考虑到 在这一层级中当存在 README.md 时,应该将链接有条件的提升到上一级,形成: { link, items: 'auto' } 的形式。这也导致 上述的 bug 的产生。
README.md
{ link, items: 'auto' }
Sorry, something went wrong.
fix(theme): incorrect auto generate sidebar, close #307
8f7d01c
b98f46a
pengzhanbo
Successfully merging a pull request may close this issue.
检查清单
描述该功能
现在遇到一个问题:当我在items: 'auto'的情况下有README.md或者index.md,在侧边栏中会重复显示这个文件
需要一个frontmatter配置(index: boolean),可以在sidebar的情况下,控制这个文章是否在侧边栏中显示
附加上下文
No response
The text was updated successfully, but these errors were encountered: