Move Doc/tools/sphinxext content to Doc/tools, there is no need for t… · pythoncapi/cpython@97e9ec6 · GitHub
Skip to content

Commit 97e9ec6

Browse files
committed
Move Doc/tools/sphinxext content to Doc/tools, there is no need for the nested subdirectory anymore.
1 parent 2b1a0a3 commit 97e9ec6

23 files changed

Lines changed: 8 additions & 89 deletions

Doc/Makefile

Lines changed: 2 additions & 2 deletions

Doc/README.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ Available make targets are:
7979

8080
* "pydoc-topics", which builds a Python module containing a dictionary with
8181
plain text documentation for the labels defined in
82-
`tools/sphinxext/pyspecific.py` -- pydoc needs these to show topic and
83-
keyword help.
82+
`tools/pyspecific.py` -- pydoc needs these to show topic and keyword help.
8483

8584
* "suspicious", which checks the parsed markup for text that looks like
8685
malformed and thus unconverted reST.

Doc/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
# that aren't pickleable (module imports are okay, they're removed automatically).
88

99
import sys, os, time
10-
sys.path.append(os.path.abspath('tools/sphinxext'))
10+
sys.path.append(os.path.abspath('tools'))
1111

1212
# General configuration
1313
# ---------------------
1414

1515
extensions = ['sphinx.ext.coverage', 'sphinx.ext.doctest',
1616
'pyspecific', 'c_annotations']
17-
templates_path = ['tools/sphinxext']
17+
templates_path = ['tools']
1818

1919
# General substitutions.
2020
project = 'Python'
@@ -96,7 +96,7 @@
9696
html_use_opensearch = 'http://docs.python.org/' + version
9797

9898
# Additional static files.
99-
html_static_path = ['tools/sphinxext/static']
99+
html_static_path = ['tools/static']
100100

101101
# Output file base name for HTML help builder.
102102
htmlhelp_basename = 'python' + release.replace('.', '')

Doc/make.bat

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)