Skip to content

Commit

Permalink
added mock imports to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ewu63 committed Apr 17, 2020
1 parent 4592fb9 commit 0f07897
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'numpydoc']
numpydoc_show_class_members = False

# mock import for autodoc
autodoc_mock_imports = ['numpy']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
1 change: 0 additions & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
numpydoc
numpy

0 comments on commit 0f07897

Please sign in to comment.