forked from M-Labs/artiq
doc: fix autodoc search path
This commit is contained in:
parent
13912b66f3
commit
4a35428518
|
@ -43,7 +43,7 @@ for module in mock_modules:
|
|||
# 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
|
||||
# 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue