]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Detect sphinx theme directly in conf.py.in file
authorrnv <rnv@opencascade.com>
Thu, 9 Aug 2018 15:21:54 +0000 (18:21 +0300)
committerrnv <rnv@opencascade.com>
Thu, 9 Aug 2018 15:21:54 +0000 (18:21 +0300)
doc/salome/gui/conf.py.in

index e4c2811567a44b8da0664aa1f9318884172ca46b..8a6e003f0bfe6134d32f119fc2659b444c3557fb 100644 (file)
@@ -99,7 +99,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'.
-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".