-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Unable to load non-ASCII metadata on Python 2 #29
Comments
In GitLab by @jaraco on Dec 5, 2018, 18:35 Replicate the issue readily thus:
|
In GitLab by @jaraco on Dec 5, 2018, 18:59 mentioned in commit 514f317433996d70d3919048c9a4abfbd857aa84 |
In GitLab by @jaraco on Dec 5, 2018, 19:07 mentioned in commit 3568e65a642e4e27ca6dd1e13419b120ca4b73fb |
In GitLab by @jaraco on Dec 5, 2018, 19:07 mentioned in commit 523e04a48b79a3878cdaece1244f88c81db3ee7b |
In GitLab by @jaraco on Dec 5, 2018, 19:18 mentioned in commit 7b569f9725f2e109b6f628af502dfb83fefde537 |
In GitLab by @jaraco on Dec 6, 2018, 03:08 closed via merge request !30 |
This change adds `nitpicky=True` (which is an equivalent of `-n`) to make Sphinx emit warnings for any references to non-existing targets. Then, it adds `-W` to make it fail whenever a single warning is seen. Finally, `--keep-going` allows Sphinx to print out all the warnings before exiting instead of showing just one and bailing. Resolves #29 Refs: * https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-n * https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-W * https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-keep-going
In GitLab by @jaraco on Dec 5, 2018, 18:32
Attempting to load non-ascii metadata on Python 2.7 fails with a UnicodeEncodeError and this traceback:
Discovered this on the portend project in this job, which is using pytest-checkdocs to ensure the long-description is valid ReStructuredText.
The text was updated successfully, but these errors were encountered: