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
LaTeX: :rst:dir:versionchanged
with contents being a list will cause error during pdf build
#9330
Labels
Milestone
Comments
I don't know if feature or bug of domains.changeset.VersionChange() but adding the bug tag anyhow |
tk0miya
added a commit
to tk0miya/sphinx
that referenced
this issue
Jun 13, 2021
The versionchanged directive breaks doctree if its contents start with non-paragraph element (ex. lists, tables, and so on). It causes build error in LaTeX. This inserts a paragraph if the first child of the contents is not a paragraph not to break doctree.
I found the reason of this bug and post a fix as #9333 now. |
tk0miya
added a commit
to tk0miya/sphinx
that referenced
this issue
Jun 13, 2021
The versionchanged directive breaks doctree if its contents start with non-paragraph element (ex. lists, tables, and so on). It causes build error in LaTeX. This inserts a paragraph if the first child of the contents is not a paragraph not to break doctree.
tk0miya
added a commit
that referenced
this issue
Jun 13, 2021
Fix #9330: versionchanged causes error during pdf build
marxin
pushed a commit
to marxin/sphinx
that referenced
this issue
Jun 17, 2021
The versionchanged directive breaks doctree if its contents start with non-paragraph element (ex. lists, tables, and so on). It causes build error in LaTeX. This inserts a paragraph if the first child of the contents is not a paragraph not to break doctree.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
A clear and concise description of what the bug is.
When trying to build Sphinx pdf doc on 4.x
(line number may not be right because actually got this on a branch adding extra text to latex.rst)
Your project
Sphinx own doc
It is caused by
i.e. a list after
versionchanged
in latex.rstNot sure if actually allowed to use a display after
versionchanged
?html output fine
The text was updated successfully, but these errors were encountered: