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
Enhancement request: Generate _category_.json/yml files for names of sidebar dropdown items #17
Comments
@JenniBeadle can you say how this will improve things for you? (Especially if you're making an feature request, you'll want to remove boilerplate text like
|
The side bar items are named after the Outline pages. So instead of having your Notion Outline pages named in these shorthand ways like you are, they should be, based on your screenshots above:
Etc. |
I had tried that before I submitted the enhancement request but it didn't work for me. So what am I doing wrong? It definitely doesn't work from the cloned repository in localhost because on my computer, it is back in folders. Here is what I get The ordering is out because I started to delete the initial numbering which normally controls the sort order. I thought it was supposed to be in same order as Notion. But maybe that was still an enhancement request. |
Yeah those dashes are a bug. I'll close this and report that. |
Describe the issue
Docusaurus uses the folder names (short with hyphens) for the sidebar dropdowns unless you add category.yml files to each folder to specify the name of the folder. These are also used to translate the folder names.
See discussion on Category item metadata in https://docusaurus.io/docs/sidebar/autogenerated#category-item-metadata
The text was updated successfully, but these errors were encountered: