Skip to content

Commit

Permalink
Mock torch package [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
kmkurn committed Feb 4, 2019
1 parent 50dac3a commit 05bfb49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@

# -- Extension configuration -------------------------------------------------

# Mock torch package
autodoc_mock_imports = ['torch']

# -- Options for intersphinx extension ---------------------------------------

# Example configuration for intersphinx: refer to the Python standard library.
Expand Down
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Sphinx==1.8.3
sphinx-autodoc-typehints==1.6.0
sphinx_rtd_theme==0.4.2
torch==1.0.0

0 comments on commit 05bfb49

Please sign in to comment.