summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2016-10-28 17:13:41 +0200
committerRémi Flamary <remi.flamary@gmail.com>2016-10-28 17:13:41 +0200
commitdabf0c22b7fd285301254539047291aa83a807a5 (patch)
tree85f03ca81dfca9f8b5f87e2e8f7961be460022fb /docs
parent2438fa84d8095f21d3397ff70ddb32c51ed9855c (diff)
RTD3
Diffstat (limited to 'docs')
-rw-r--r--docs/source/conf.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index cb8573f..aea2235 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -19,13 +19,13 @@ from unittest.mock import MagicMock
sys.path.insert(0, os.path.abspath("../.."))
- class Mock(MagicMock):
- @classmethod
- def __getattr__(cls, name):
- return Mock()
+class Mock(MagicMock):
+ @classmethod
+ def __getattr__(cls, name):
+ return Mock()
- MOCK_MODULES = [ 'emd']
- sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
+MOCK_MODULES = [ 'emd']
+sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the