Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3781c2c
)
Detect sphinx theme directly in conf.py.in file
author
rnv
<rnv@opencascade.com>
Thu, 9 Aug 2018 16:40:37 +0000
(19:40 +0300)
committer
rnv
<rnv@opencascade.com>
Thu, 9 Aug 2018 16:40:37 +0000
(19:40 +0300)
doc/salome/gui/SMESH/conf.py.in
patch
|
blob
|
history
diff --git
a/doc/salome/gui/SMESH/conf.py.in
b/doc/salome/gui/SMESH/conf.py.in
index 91124d948f8633efc95589a5303f2adbb55dbcd8..3fc554654917e3fee0a09c9e22eb881c0d7f7ded 100644
(file)
--- a/
doc/salome/gui/SMESH/conf.py.in
+++ b/
doc/salome/gui/SMESH/conf.py.in
@@
-12,6
+12,7
@@
# serve to show the default.
import sys, os
# serve to show the default.
import sys, os
+import sphinx
# If your extensions are in another directory, add it here. If the directory
# is relative to the documentation root, use os.path.abspath to make it
# If your extensions are in another directory, add it here. If the directory
# is relative to the documentation root, use os.path.abspath to make it
@@
-105,7
+106,7
@@
pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
-html_theme = '
@SPHINX_THEME@
'
+html_theme = '
default' if sphinx.version_info[:2] < (1,3) else 'classic
'
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".