Skip to content
New issue

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

The auto-sidebar config can not generate multi first-level headings but only one. #3204

Open
1 task done
caisense opened this issue Mar 13, 2024 · 0 comments
Open
1 task done

Comments

@caisense
Copy link

caisense commented Mar 13, 2024

  • I confirm that this is an issue rather than a question.

Bug report

Markdown file has many level 1 headings, but the final rendered html only generates a first-level title.

Steps to reproduce

use vuepress auto-sidebar in config.js to generate sidebar, just like:

module.exports = {
    themeConfig: {
        sidebar: 'auto',
        ...
    }
}

then use vuepress to compile, the final rendered html only has one first-level title on sidebar.

What is expected?

The final rendered html sidebar has multiple first-level titles.

What is actually happening?

The final rendered html only has one first-level title on sidebar.

Other relevant information

  • Output of npx vuepress info in my VuePress project:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant