Skip to content
Snippets Groups Projects
Commit 77a55698 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[doc] Add patch on doc/sphinx to update 1.4 and removed 1.8

parent e20645d9
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@
# serve to show the default.
import sys, os
from sphinx import version_info as sphinx_version
# 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
......@@ -23,7 +24,8 @@ sys.path = [os.path.abspath('@CMAKE_SOURCE_DIR@/src')]+sys.path
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.pngmath']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo']
extensions.append('sphinx.ext.pngmath' if sphinx_version < (1, 4) else 'sphinx.ext.imgmath')
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment