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
C++ domain: Trips over complex constant with unknown escape sequence #6462
Comments
It looks like this is problem in all domains: .. cpp:var:: std::string s = "foo\\bar"
.. py:data:: s = "foo\\bar" See PR #6473. |
@jakobandersen Thanks! Quite interesting that I'm the first one to observe that. |
@jakobandersen Is there a workaround available or do I just have to live with it? |
jakobandersen
added a commit
to jakobandersen/sphinx
that referenced
this issue
Oct 6, 2019
Adds several ways to reinstate the old behaviour. Fixes sphinx-doc#6462
jakobandersen
added a commit
to jakobandersen/sphinx
that referenced
this issue
Jan 25, 2020
Adds several ways to reinstate the old behaviour. Fixes sphinx-doc#6462
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using latest breathe and sphinx and applying the following patch in breathe
I get
but the code is valid C++
Looking at the result
it seems that sphinx is removing some backslashes and then get's tripped.
The output from sphinx 1.8.3 can be viewed here.
Environment info
The text was updated successfully, but these errors were encountered: