Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7125

Simplify documentation navigation (remove left nav parent links; add in-page TOCs)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • docs
    • None

    Description

      The Geode user guide uses Bookbinder to create HTML documentation from markdown files. This ticket is about changing two ways in which Geode currently uses Bookbinder sub-optimally:

      1. For listings in the left navigation with submenus, we give the parent listing a link to a TOC page—e.g., [Prerequisites and Installation Instructions|https://geode.apache.org/docs/guide/19/prereq_and_install.html]. This isn't inherently bad (though it is somewhat redundant, as the left navigation also serves this purpose), but when a user visits such a link, the submenu on the left collapses. Note: The menu does not collapse when a user visits a child link in the submenu of these items.
      2. For left nav listings with submenus where all the pages link to anchors within a page (instead of to topics on individual pages), Bookbinder provides an option called "quicklinks" that automatically uses H2 (`##`) and smaller subheads to create a small, in-page TOC at the top of the page. We currently disable this functionality.
        • Fix/Improvement: Remove the "no-quicklinks" tags from anchors that we want to appear in the in-page TOC. Also remove any duplicate links from the left navigation. (In other words, the in-page TOC will now replace some navigation functionality currently performed by the left nav, thereby simplifying the left nav.) For example, see [Managing Heap and Off-heap Memory|https://geode.apache.org/docs/guide/19/managing/heap_use/heap_management.html], where many (but, notably, not all) of the child links in the left nav lead to anchors within one page. These can become one new child page/link called Managing Heap Memory, leaving only Resource Manager Example Configurations, Managing Off-Heap Memory, and Locking Memory as child links alongside the new one. The rest become in-page TOC anchor links in Managing Heap Memory.

       

      Attachments

        Activity

          People

            dbarnes Dave Barnes
            joeymcallister Joey McAllister
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: