Skip to content

Commit

Permalink
Mock up torch imports
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrjones committed May 4, 2022
1 parent 4a22503 commit 85d3db6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def skip(app, what, name, obj, skip, options):
def setup(app):
app.connect('autodoc-skip-member', skip)

autodoc_mock_imports = ["torch"]

# link to github issues
extlinks = {
Expand Down
1 change: 0 additions & 1 deletion doc/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ dependencies:
- numpy
- numpydoc
- pytest
- pytorch
- sphinx
- sphinx-autosummary-accessors
- sphinx-copybutton
Expand Down

0 comments on commit 85d3db6

Please sign in to comment.