8000 Merge pull request #20464 from anntzer/tinypagesconf · matplotlib/matplotlib@3886f50 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3886f50

Browse files
authored
Merge pull request #20464 from anntzer/tinypagesconf
tinypages/conf.py doesn't need to manipulate sys.path.
2 parents f008953 + 77ee624 commit 3886f50

File tree

1 file changed

+0
-7
lines changed
  • lib/matplotlib/tests/tinypages

1 file changed

+0
-7
lines changed

lib/matplotlib/tests/tinypages/conf.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
import sys
2-
from os.path import join as pjoin, abspath
31
import sphinx
42
from distutils.version import LooseVersion
53

6-
# If extensions (or modules to document with autodoc) are in another directory,
7-
# add these directories to sys.path here. If the directory is relative to the
8-
# documentation root, use os.path.abspath to make it absolute, like shown here.
9-
sys.path.insert(0, abspath(pjoin('..', '..')))
10-
114
# -- General configuration ------------------------------------------------
125

136
extensions = ['matplotlib.sphinxext.plot_directive']

0 commit comments

Comments
 (0)
0