mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
Docs: use a Sphinx extension to eliminate excessive links (#145130)
This commit is contained in:
@@ -43,6 +43,7 @@ extensions = [
|
||||
|
||||
# Skip if downstream redistributors haven't installed them
|
||||
_OPTIONAL_EXTENSIONS = (
|
||||
'linklint.ext',
|
||||
'notfound.extension',
|
||||
'sphinxext.opengraph',
|
||||
)
|
||||
|
||||
@@ -18,4 +18,6 @@ sphinx-notfound-page~=1.0.0
|
||||
# to install that as well.
|
||||
python-docs-theme>=2023.3.1,!=2023.7
|
||||
|
||||
linklint
|
||||
|
||||
-c constraints.txt
|
||||
|
||||
Reference in New Issue
Block a user