vuepress-theme-hope / vuepress-theme-hope

A vuepress theme with tons of features✨
https://theme-hope.vuejs.press
MIT License
1.96k stars 689 forks source link

[Feature Request] support the same options in the navabar as in the sidebar #4209

Closed skamansam closed 3 weeks ago

skamansam commented 3 weeks ago

Checklist

Describe the feature

My company would like to be able to write internal docs without having to manage them. I am setting up Vuepress with the Hope theme in order to facilitate that. In order to do this efficiently, I would like to be able to add children of the navbar in the same fashion as in the sidebar, by using the children: "structure" option. This would also mean we could use a central file to manage the navigation items instead of two different ones.

Additional context

No response

Mister-Hope commented 3 weeks ago

Nope.

  1. Navbar shows the most important navigation links for the site, probably entrance of some basic categories. The expected number of navbar links are at 3 to 10+, so it is reasonable to force you manually set it.
  2. navbar only support a max nesting of level 3, while sidebar is infinite in design (as long as you give enough width for it)