8000 toctree captions are missing the `caption` class on the main `p` element · Issue #9051 · sphinx-doc/sphinx · GitHub
[go: up one dir, main page]

Skip to content
toctree captions are missing the caption class on the main p element #9051
@ocharles

Description

@ocharles

Describe the bug

Please see readthedocs/sphinx_rtd_theme#1111, though I think I'm encountering a Sphinx bug, rather than a bug in that particular theme.

To Reproduce
Steps to reproduce the behavior:

<Paste your command-line here which cause the problem>

$ git clone git://github.com/circuithub/rel8
$ cd docs
$ pip install -r requirements.txt
$ make html
$ # open _build/html/index

Expected behavior

Each toctree caption would be a <p class="caption"> element, which sphinx-rtd-theme will style specially.

Screenshots
Screenshots are on readthedocs/sphinx_rtd_theme#1111

Environment info

  • OS: Linux NixOS
  • Python version: 3.8.8
  • Sphinx version: 3.5.3

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0