Skip to content

Commit c37bcec

Browse files
committed
Removed unused sys import and sphinx extension instructions.
1 parent 557a7f2 commit c37bcec

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

doc/source/conf.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@
1919
# All configuration values have a default; values that are commented out
2020
# serve to show the default.
2121

22-
import sys
2322
import os
24-
from runpy import run_path
2523
from configparser import ConfigParser
24+
from runpy import run_path
2625

2726
# Check for external Sphinx extensions we depend on
2827
try:
@@ -41,11 +40,6 @@
4140
raise RuntimeError('Need nibabel on Python PATH; consider "make htmldoc" '
4241
'from nibabel root directory')
4342

44-
# If extensions (or modules to document with autodoc) are in another directory,
45-
# add these directories to sys.path here. If the directory is relative to the
46-
# documentation root, use os.path.abspath to make it absolute, like shown here.
47-
# sys.path.append(os.path.abspath('../sphinxext'))
48-
4943
# -- General configuration ----------------------------------------------------
5044

5145
# We load the nibabel release info into a dict by explicit execution

0 commit comments

Comments
 (0)