Skip to content

Commit

Permalink
These changes might improve the readthedocs build.
Browse files Browse the repository at this point in the history
  • Loading branch information
muammar committed Mar 12, 2020
1 parent 1cda502 commit 51c4145
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ dependencies:
- m2r
- joblib
- msgpack
- msgpack_numpy

2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Mock(MagicMock):
def __getattr__(cls, name):
return MagicMock()

MOCK_MODULES = ['torch', "torch.optim", "torch.nn.Module"]
MOCK_MODULES = ['torch', "torch.optim", "torch.nn.Module", "plotly"]

sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

Expand Down

0 comments on commit 51c4145

Please sign in to comment.