Join GitHub today
add sidebar nav instructions to documentation #476
Currently undocumented because I built it as a "one off" for the theme's documentation section. Wasn't really meant to be something as part of the theme as it's not the most straight forward thing to do.
It involves manually listing out all of the links in a
For example, the menu for the theme's documentation was built by:
And then in each
sidebar: nav: "docs"
The better solution for adding the same YAML to multiple pages is with Front Matter Defaults in
defaults: # _docs - scope: path: "" type: docs values: sidebar: nav: "docs"
Thanks a lot. I had figured out the part about
I am making a minisite to accompany my recurrent neural network package which means adding a lot of documentation so this is perfect.
Documentation has been added https://mmistakes.github.io/minimal-mistakes/docs/layouts/#custom-sidebar-navigation-menu