Navigation Menu
I'm looking into migrating our Confluence wiki. I already converted all out Confluence spaces to markdown and started a Gollum instance with our markdown. I'm missing how to navigate our documentation in Gollum.
I know that I can create a _Sidebar.md file with <<Navigation()>> but this will render this box in the middle of the screen and the Navigation element renders the full path and displays .md extensions. I find this to not be usable.
I hoped for a navigation menu on the side (e.g. left) which provides a page tree, collapsible per hierarchy and only displaying page titles without extension e.g.:
Even better would be, if the order of the items could be defined manually (drag and drop of the navigation entries).
Potential steps to implement this:
- Allow for a
_Navigation.mdfile, which renders the content in a side navigation menu. - Add a "tree" option to the
<<Navigation()>>macro, which renders a page tree. Also add options to hide the file extension. The page tree should provide the option to collapse tree entries. Optionally, collapse state could be stored in the browsers local storage. - Introduce a
_index.mdfile which stores the order of the pages in the navigation.
Source: gollum/gollum