gh-101100: Silence Sphinx warnings when ntpath or posixpath are referenced#112833
gh-101100: Silence Sphinx warnings when ntpath or posixpath are referenced#112833AlexWaygood merged 1 commit into
ntpath or posixpath are referenced#112833Conversation
… are referenced
barneygale
left a comment
There was a problem hiding this comment.
Lovely stuff!
Sorry, something went wrong.
|
You're going to hit a conflict on backport because |
Sorry, something went wrong.
|
Thanks @AlexWaygood for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, something went wrong.
|
Sorry, @AlexWaygood, I could not cleanly backport this to |
Sorry, something went wrong.
|
Sorry, @AlexWaygood, I could not cleanly backport this to |
Sorry, something went wrong.
…ixpath` are referenced (python#112833) (cherry-picked from commit 2c3906b)
…ixpath` are referenced (python#112833) (cherry-picked from commit 2c3906b)
… are referenced (python#112833)
… are referenced (python#112833)
ntpathandposixpathare undocumented modules, and I think they should stay undocumented. The vast majority of users won't need to worry about them; they're implementation details ofos.path.This PR silences Sphinx warnings when these modules are referenced (because Sphinx cannot resolve the references) by adding them to the
nitpick_ignorelist inDoc/conf.py. Doing this allows us to removelibrary/os.path.rstfrom the.nitignorelist of files.📚 Documentation preview 📚: https://cpython-previews--112833.org.readthedocs.build/