mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
doc: fix autodoc search path
This commit is contained in:
parent
c155fd3849
commit
86bde74cd4
@ -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
Block a user