- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Autodoc generates invalid xml #9413
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
Comments
This is being a huge blocker for me. |
I have a suggested fix up as a PR. |
The moment I thought to have finally found a solution to work around |
…ncing python objects
Fix #9413: xml: Invalid XML was generated when cross referencing python objects
Describe the bug
When using autodoc along with python function signatures containing "params" with XML builder the generated xml is not valid.
We think the issue is due to the following commit: 30c594f
How to Reproduce
Expected behavior
The generated XML should be valid and xml lint should not have any errorss
Your project
https://github.com/nemani/sphinx-bug-report-example
Screenshots
No response
OS
mac
Python version
3.7.5
Sphinx version
4.0.3
Sphinx extensions
sphinx.ext.autodoc
Extra tools
Additional context
The text was updated successfully, but these errors were encountered: