summaryrefslogtreecommitdiff
path: root/docs/source/conf.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2017-09-01 15:31:44 +0200
committerRémi Flamary <remi.flamary@gmail.com>2017-09-01 15:31:44 +0200
commit062071b20d1d40c64bb619931bd11bd28e780485 (patch)
tree74bfcd48bb65304c2a5be74c24cdff29bd82ba4b /docs/source/conf.py
parent212f3889b1114026765cda0134e02766daa82af2 (diff)
update example with rst titles
Diffstat (limited to 'docs/source/conf.py')
-rw-r--r--docs/source/conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index ffdb1a2..0a822e5 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -33,7 +33,7 @@ class Mock(MagicMock):
return MagicMock()
MOCK_MODULES = ['ot.lp.emd_wrap','autograd','pymanopt','cudamat','autograd.numpy','pymanopt.manifolds','pymanopt.solvers']
# 'autograd.numpy','pymanopt.manifolds','pymanopt.solvers',
-sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
+##sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
# !!!!
# If extensions (or modules to document with autodoc) are in another directory,
@@ -328,7 +328,7 @@ intersphinx_mapping = {'https://docs.python.org/': None}
sphinx_gallery_conf = {
'examples_dirs': ['../../examples','../../examples/da'],
'gallery_dirs': 'auto_examples',
- 'mod_example_dir': '../modules/generated/',
+ 'backreferences_dir': '../modules/generated/',
'reference_url': {
'numpy': 'http://docs.scipy.org/doc/numpy-1.9.1',
'scipy': 'http://docs.scipy.org/doc/scipy-0.17.0/reference'}