Commit db2cedbc authored by Georg Brandl's avatar Georg Brandl

Move Sphinx extensions to their own subdir.

parent e52e2ebf
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment