1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Patch to have the documentation build even without a sphinx module and
an html theme.
diff --git a/Documentation_src/source/conf.py b/Documentation_src/source/conf.py
index aa1eba8..07b3b26 100644
--- a/Documentation_src/source/conf.py
+++ b/Documentation_src/source/conf.py
@@ -30,8 +30,8 @@ sys.path.insert(0, os.path.abspath('.'))
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.todo',
- 'sphinx.ext.pngmath',
- 'sphinx.ext.napoleon',
+ 'sphinx.ext.pngmath'#,
+ # 'sphinx.ext.napoleon',
# 'sphinx.ext.viewcode'
]
#'sphinx.ext.doctest'
@@ -104,7 +104,7 @@ on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
html_theme = 'default'
else:
- html_theme = 'sphinx_rtd_theme'
+ html_theme = 'default'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
|