forked from M-Labs/artiq
1
0
Fork 0

doc: fix autodoc search path

This commit is contained in:
Robert Jördens 2017-01-26 17:56:18 +01:00
parent c155fd3849
commit 86bde74cd4
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ for module in mock_modules:
# 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('../..'))
from artiq import __version__ as artiq_version from artiq import __version__ as artiq_version