Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
Added mock imports to conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Geneva committed Nov 30, 2020
1 parent a881a3d commit 5924325
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ def setup(app):
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# Fake import these packages when building
autodoc_mock_imports = ['torch', 'numpy', 'matplotlib']

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
Expand Down

0 comments on commit 5924325

Please sign in to comment.