Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
https://read-the-docs.readthedocs.org/en/latest/getting_started.html has a collapsible nav section on the left... can we also get that on https://aegir.readthedocs.org/en/3.x/install/install/?
Comments
Comment #1
ergonlogicread-the-docs uses reStructuredText with Sphinx, whereas we're using markdown with mkdocs. Sphinx has more options, but is also harder to configure than mkdocs. Fwiw, we'd started out with rst/sphinx.
See: https://raw.githubusercontent.com/rtfd/readthedocs.org/master/docs/index... for how they use the
toctree
directive.I'm all for having better nesting in menus using mkdocs. This was a limitation until recently. See: https://github.com/mkdocs/mkdocs/issues/6.
I believe there was an issue on rtfd to update to a more recent mkdocs to support the extra menu depth. I guess we need to figure out of rtfd has implemented that yet... Looks like they're running a recent mkdocs: https://github.com/rtfd/readthedocs.org/issues/1277
Comment #2
ergonlogicSo, we should probably create a branch to play with the new menu structure in https://github.com/aegir-project/documentation/blob/3.x/mkdocs.yml. One reason I like mkdocs is that it's super simple to compile/run your own local copy, to see how everything works.
One possible issue here is that mkdocs had to update their themes to support the additional menu nesting. According to https://github.com/rtfd/readthedocs.org/issues/978, these themes may not yet be supported. This'll also need some investigation.
Comment #3
ergonlogicI added a 'restructure' branch, to see how the new menu/page structure works: http://aegir.readthedocs.org/en/restructure/
I also collapsed the individual hooking-into pages into a single page, which I think we should also consider for remote-import.
Comment #4
helmo CreditAttribution: helmo at Initfour websolutions commentedThanks, looks a lot better.