Skip to content

Commit

Permalink
Mock up 'torch'
Browse files Browse the repository at this point in the history
  • Loading branch information
sublee committed May 20, 2019
1 parent a2d7e69 commit bc08896
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
extensions.append('sphinx.ext.intersphinx')
intersphinx_mapping = {'torch': ('https://pytorch.org/docs/stable/', None)}

# Mock up 'torch' to make sure build on Read the Docs.
autodoc_mock_imports = ['torch']

# -- Options for HTML output -------------------------------------------------

Expand Down

0 comments on commit bc08896

Please sign in to comment.