Commit 0030408a authored by Stefan Behnel's avatar Stefan Behnel

Try to make the project sources available to Sphinx autodoc.

See #2180.
parent 2cb96fab
...@@ -20,7 +20,7 @@ YEAR = datetime.date.today().strftime('%Y') ...@@ -20,7 +20,7 @@ YEAR = datetime.date.today().strftime('%Y')
# If extensions (or modules to document with autodoc) are in another directory, # If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the # add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here. # documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('.')) sys.path.insert(0, os.path.abspath('..'))
sys.path.append(os.path.abspath('sphinxext')) sys.path.append(os.path.abspath('sphinxext'))
# Import support for ipython console session syntax highlighting (lives # Import support for ipython console session syntax highlighting (lives
......
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