diff options
author | Georg Brandl <georg@python.org> | 2014-10-29 08:07:37 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-29 08:07:37 +0100 |
commit | e03902910c70900954572d72997f339a3c1f1154 (patch) | |
tree | 46e07f45a7bb50bdc1cb73b326c5128c36f74253 | |
parent | 9a333a6f65b7b2eb3fbed0d918186737adc6ae69 (diff) | |
download | cpython-git-e03902910c70900954572d72997f339a3c1f1154.tar.gz |
Move Sphinx extensions to their own subdir.
-rw-r--r-- | Doc/conf.py | 2 | ||||
-rw-r--r-- | Doc/tools/extensions/c_annotations.py (renamed from Doc/tools/c_annotations.py) | 0 | ||||
-rw-r--r-- | Doc/tools/extensions/patchlevel.py (renamed from Doc/tools/patchlevel.py) | 0 | ||||
-rw-r--r-- | Doc/tools/extensions/pyspecific.py (renamed from Doc/tools/pyspecific.py) | 0 | ||||
-rw-r--r-- | Doc/tools/extensions/suspicious.py (renamed from Doc/tools/suspicious.py) | 2 |
5 files changed, 2 insertions, 2 deletions
diff --git a/Doc/conf.py b/Doc/conf.py index 0c7b601459..ff073b112a 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -7,7 +7,7 @@ # that aren't pickleable (module imports are okay, they're removed automatically). import sys, os, time -sys.path.append(os.path.abspath('tools')) +sys.path.append(os.path.abspath('tools/extensions')) # General configuration # --------------------- diff --git a/Doc/tools/c_annotations.py b/Doc/tools/extensions/c_annotations.py index baa39f3b44..baa39f3b44 100644 --- a/Doc/tools/c_annotations.py +++ b/Doc/tools/extensions/c_annotations.py diff --git a/Doc/tools/patchlevel.py b/Doc/tools/extensions/patchlevel.py index bca2eb8bad..bca2eb8bad 100644 --- a/Doc/tools/patchlevel.py +++ b/Doc/tools/extensions/patchlevel.py diff --git a/Doc/tools/pyspecific.py b/Doc/tools/extensions/pyspecific.py index a17406ae1a..a17406ae1a 100644 --- a/Doc/tools/pyspecific.py +++ b/Doc/tools/extensions/pyspecific.py diff --git a/Doc/tools/suspicious.py b/Doc/tools/extensions/suspicious.py index ee877336f6..d3ed849157 100644 --- a/Doc/tools/suspicious.py +++ b/Doc/tools/extensions/suspicious.py @@ -91,7 +91,7 @@ class CheckSuspiciousMarkupBuilder(Builder): self.log_file_name = os.path.join(self.outdir, 'suspicious.csv') open(self.log_file_name, 'w').close() # load database of previously ignored issues - self.load_rules(os.path.join(os.path.dirname(__file__), + self.load_rules(os.path.join(os.path.dirname(__file__), '..', 'susp-ignored.csv')) def get_outdated_docs(self): |