Replies: 1 comment 2 replies
-
|
Please create a repro, it is hard to understand what is your problem based on text |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Setting sidebar_label in the front matter of a index.md file in a subfolder causes the sidebar dropdown item to be linked and display the contents of the index.md file.
Is there a way to change the sidebar_label of a docs/ subfolder without editing sidebar.js? and without the drop down label being linked?
FILE STRUCTURE
docs/
how_to/
do_x.md
do_y.md
SIDEBAR
How To
How To Do X
How To Do Y
Might it even be easier to have the file structure have an opinionated default that hyphens or underscores in the file structure are replaced with spaces? Or to have a boolean front matter field for 'sidebar_link'?
I know folders allow spaces and are case sensitive, but not ideal.
Beta Was this translation helpful? Give feedback.
All reactions