-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toctree captions are missing the caption
class on the main p
element
#9051
Comments
Good timing! I posted #9053 to fix the trouble. Please try it if you have time :-) |
We have some reports on the rtd theme that unordered list are also broken. |
Could you explain this in detail? |
After looking into it, this seems not related to sphinx but our css. The issue comes from the change from |
@Blendify Do you have any example to reproduce the HTML output? I'd like to fix CSS, but I need to reproduce it before fix it. |
I merged #9053 to the 3.5.x branch now. So the main topic of this issue is resolved in the next bugfix release. |
Just to clarify, the issue with unordered lists is specific to the rtd-sphinx-theme and is an issue on our end.
With docutils 0.17 rst headings get Just use a simple page like:
To fix, check for all instances of There may be more cases so we should check for all uses of new semantic tags:
for example, I also see that |
This will address the issues that the latest docutils release caused. I think thi si a good practice in general to make sure we have a defined range of docutils versions, given that they might change in the future. Having this defined will mean that 3.x versions of Sphinx will always work, even when docutils has advanced with additional backwards incompatible features. Refs sphinx-doc#9065 sphinx-doc#9063 sphinx-doc#9061 sphinx-doc#9051
This will address the issues that the latest docutils release caused. I think thi si a good practice in general to make sure we have a defined range of docutils versions, given that they might change in the future. Having this defined will mean that 3.x versions of Sphinx will always work, even when docutils has advanced with additional backwards incompatible features. Refs sphinx-doc#9065 sphinx-doc#9063 sphinx-doc#9061 sphinx-doc#9051
Since docutils-0.17, figure directive starts to output `<figure>` tag. To support it, this modifies CSS.
Since docutils-0.17, figure directive starts to output `<figure>` tag. To support it, this modifies CSS.
Fix #9051: html theme: The style for figure are not applied
Now I fixed the styles for |
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:
Expected behavior
Each
toctree
caption would be a<p class="caption">
element, whichsphinx-rtd-theme
will style specially.Screenshots
Screenshots are on readthedocs/sphinx_rtd_theme#1111
Environment info
The text was updated successfully, but these errors were encountered: