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
doctest comments not getting trimmed since Sphinx 1.8.0 #6545
Comments
ngoldbaum
added a commit
to ngoldbaum/unyt
that referenced
this issue
Jul 1, 2019
ngoldbaum
added a commit
to ngoldbaum/sphinx
that referenced
this issue
Jul 2, 2019
ngoldbaum
added a commit
to ngoldbaum/sphinx
that referenced
this issue
Jul 2, 2019
ngoldbaum
added a commit
to ngoldbaum/sphinx
that referenced
this issue
Jul 2, 2019
ngoldbaum
added a commit
to ngoldbaum/sphinx
that referenced
this issue
Jul 7, 2019
ngoldbaum
added a commit
to ngoldbaum/sphinx
that referenced
this issue
Jul 7, 2019
tk0miya
added a commit
that referenced
this issue
Jul 8, 2019
Fix #6545. Strip doctests for doctest_block nodes.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Doctest comments are showing up in the output of my documentation with recent builds of sphinx. If I build the same project with sphinx 1.7.9, the doctest comments do not show up.
To Reproduce
Steps to reproduce the behavior:
You can see this for yourself showing up on ReadTheDocs on this page: https://unyt.readthedocs.io/en/stable/usage.html
Expected behavior
Doctest directives shouldn't show up in the doc build output
Your project
github.com/yt-project/unyt
Screenshots
You can see this on the readthedocs build for unyt, here's a screenshot of how it looks there:
Here's the same snippet built with Sphinx 1.7.9, the last version where this renders correctly:
Environment info
(
show_all_units
is a custom extension that should be unrelated to this)The text was updated successfully, but these errors were encountered: