mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Move Sphinx extensions to their own subdir.
This commit is contained in:
parent
9a333a6f65
commit
e03902910c
5 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
# ---------------------
|
||||
|
|
|
@ -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):
|
Loading…
Add table
Add a link
Reference in a new issue