You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm that this is an issue rather than a question.
Bug report
When using sidebarDepth: 0 in a page YAML the header links keep being displayed.
Steps to reproduce
Add a sidebarDepth to a element in the sidebar object.
If this element has h2 headers (created with ## in markdown), they will appear as a submenu in the navbar.
# FAQ
This FAQ is still a work in progress.<br>
If you have any questions we want to hear from you. Your feedback will help us improve this page!
## Table of contents
...
Because I have exactly the same problem. It works totally fine fine on the top level themeConfig.sidebarDepth but it is not possible to overwrite it in a Sidebar Group as described in the above link.
So I can not have it as default set to 2 and then overwrite it for some groups to 0.
Uh oh!
There was an error while loading. Please reload this page.
Bug report
When using sidebarDepth: 0 in a page YAML the header links keep being displayed.
Steps to reproduce
Add a sidebarDepth to a element in the sidebar object.
If this element has h2 headers (created with
##
in markdown), they will appear as a submenu in the navbar.config.json
What is expected?
The h2 title should not appear in the sidebar.
What is actually happening?
The h2 titles does appear in the sidebar.
preview of the sidebar:

sample of code from faq.md:
Other relevant information
similar issue: #1701
npx vuepress info
in my VuePress project:The text was updated successfully, but these errors were encountered: