Skip to content

Commit

Permalink
fix: add packages needed by sphinx autodoc to rtd build environment (#…
Browse files Browse the repository at this point in the history
…609)

* fix: add packages needed by sphinx autodoc to rtd build environment

* fix: mock imports instead of requiring the packages

* chore: mock libsmbl import too
  • Loading branch information
ChristianLieven committed Feb 11, 2019
1 parent caa406a commit daf6d8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
# relative to the documentation root, use os.path.abspath to make it
# absolute, like shown here.
sys.path.insert(0, dirname(dirname(__file__)))
autodoc_mock_imports = ["pylru", "equilibrator_api", "libsbml"]

# Get the project root dir, which is the parent dir of this
PROJECT_ROOT = dirname(dirname(__file__))
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ pygithub
travispy
travis-encrypt
importlib_resources
goodtables
goodtables

0 comments on commit daf6d8d

Please sign in to comment.