summaryrefslogtreecommitdiff
path: root/doc/source/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r--doc/source/conf.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index e724d3c..234e4fa 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -52,6 +52,13 @@ try:
except ImportError:
raise RuntimeError("%s is not on the path. Fix your PYTHONPATH and restart sphinx." % project)
+# Disable deprecation warnings:
+# It avoid to spam documentation logs with deprecation warnings.
+# If we want to generate the documentation of deprecated features it should
+# not make the logs durty.
+from silx.utils.deprecation import depreclog
+depreclog.disabled = 1
+
# Add local sphinx extension directory
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'ext'))
@@ -68,7 +75,9 @@ extensions = [
'sphinx.ext.mathjax',
'sphinx.ext.viewcode',
'sphinx.ext.doctest',
- 'sphinxext-archive'
+ 'sphinxext-archive',
+ 'nbsphinx'
+
]
autodoc_member_order = 'bysource'