gh-151949: Fix Sphinx reference warnings in Doc/library/lzma.rst#151973
gh-151949: Fix Sphinx reference warnings in Doc/library/lzma.rst#151973NotFoundOvO wants to merge 1 commit into
Conversation
Change :const: to :data: for module-level constants like FORMAT_XZ, CHECK_CRC32, etc. The :const: role doesn't resolve for these in modern Sphinx. Closes python#151949
|
The following commit authors need to sign the Contributor License Agreement: |
StanFromIreland
left a comment
There was a problem hiding this comment.
Changing to :data: doesn’t fix the issue. Also, once you fix them you have to remove the file from .nitignore.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Documentation build overview
|
Fixes #151949
Changed :const: to :data: for module-level constants (FORMAT_XZ, CHECK_CRC32, FILTER_LZMA2, etc.) since :const: doesn't resolve for these in modern Sphinx.
33 occurrences replaced, all in Doc/library/lzma.rst.
Doc/library/lzma.rst#151949