Skip to content

Add tooling to generate "jump" lists #324

Closed
@dedemorton

Description

@dedemorton

It's fairly common in modular documentation to use jump lists to point to the topics that are nested under a larger container topic. Right now, we hand code those lists, and they get out of sync with the docs fairly quickly. We need some kind of macro or tooling that lets us generate jump lists automatically. Here's an example of a jump list:

https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-modules.html

(I'm using this topic as an example, but for this particular topic, we do actually generate the content. The logic is very specific to modules and where they live in the repo, so it's not really reusable.)

Originally, we didn't have jump lists in topics like this, and we heard from users who thought the content was missing or not loading correctly. You'd think people would look at the TOC, but in topics like this, the relevant part of the TOC is not even visible, and users don't always realize they need to scroll down to see the full TOC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    asciidocAsciidoc and our Asciidoctor extensionsdeferdesignVisual appearance of the built documentationenhancementSomething we'd like to improve

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions