Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mali-git committed Nov 13, 2018
1 parent bd2af1c commit 5a98638
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@

import mock

sys.path.insert(0, os.path.abspath('../../src'))

# -- Mockup PyTorch to exclude it while compiling the docs--------------------------------------------------------------
MOCK_MODULES = ['torch', 'pykeen',]
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()
sys.path.insert(0, os.path.abspath('../../src'))

# -- Project information -----------------------------------------------------

Expand Down

0 comments on commit 5a98638

Please sign in to comment.