XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.6, 6.7, 7.0
    • documentation
    • None

    Description

      asciidoc has a concept called :toclevels: which is suppose to determine which how deep down a page's section/header depth the generated table of contents will show – ie: some LONG pages have a huge number of level 2 headings, and on those pages we only want to show level 1.

      but in jekyll, asciidoctor isn't responsible for generating the TOC – instead it's done by some javascript (which is better for a variety of reasons) and at the moment this javascript doesn't know anything about :toclevels:

      But it should be possible to tweak our rendering templates to include :toclevels: as an attribute in the generated HTML, and then we can tweak the javascript call made to generate the TOC so that it respects it on a per-page basis

      Attachments

        1. solr-10612-largepage.patch
          3 kB
          Cassandra Targett
        2. SOLR-10612.patch
          4 kB
          Chris M. Hostetter
        3. SOLR-10612.patch
          7 kB
          Chris M. Hostetter
        4. SOLR-10612.patch
          7 kB
          Cassandra Targett
        5. SOLR-10612.patch
          11 kB
          Chris M. Hostetter
        6. lang-analysis-1-level-toc.png
          113 kB
          Cassandra Targett

        Activity

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: