Skip to content

TOC Generation broken with newer Sphinx versions #112

@aanagnosastronauticscom

Description

Sphinx version 8.1.3 things work fine the TOC links look sane, and the subsections get page numbers.

      <li class="toctree-l1">
       <a class="reference internal" href="#document-Feature reStructuredText Environment">
        5. Feature reStructuredText Environment
       </a>
       <ul>
        <li class="toctree-l2">
         <a class="reference internal" href="#setup">
          5.1. Setup
         </a>

Sphinx 8.2.0 and newer up to 8.2.3 (current as of filling), sub section do not get numbers, and, the links are malformed. (href)

      <li class="toctree-l1">
       <a class="reference internal" href="#document-Feature reStructuredText Environment">
        5. Feature reStructuredText Environment
       </a>
       <ul>
        <li class="toctree-l2">
         <a class="reference internal" href="#document-Feature reStructuredText Environment#setup">
          5.1. Setup
         </a>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions