-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
[Request]: Allow nav with section icons #21
Comments
Are there any plans to add this behavior? If I submitted a PR that add this as an option, would you be willing to accept it? |
Hi Kevin, I'm not sure I like that approach, but since I have no better solution right now, I'd be open to accept the PR. But I think I prefer if it was a file |
So are you thinking a _group.md file that lives in the directory, and that file only has front matter and no content? It could have an If that's the approach, how would you want to set the icon on the group? If you have |
@iAmKevinMcKee Yes, exactly. Except I don't think there's a need to ignore the If you only want to have an icon set for the group, you only define |
What feature would you like to add?
My app nav looks like this:
I would like to mirror the same nav in the docs, but right now I have to define an icon for each page instead of just one for the section. Would be great to be able to do that for the docs.
Notes
I'm not sure what the implementation would be. Right now those top level nav items are just defined by the directory structure of your docs folder. Maybe in the directory, you could have a config file, or even just load an
icon.txt
file there. If there is anicon.txt
file there, then set that as the icon for the group and ignore any icons in the.md
files?The text was updated successfully, but these errors were encountered: