From 4369d78df128e7faa1786ef671cfc65bd9bc6b5c Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 9 Aug 2018 18:21:54 +0300 Subject: [PATCH] Detect sphinx theme directly in conf.py.in file --- doc/salome/gui/conf.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/salome/gui/conf.py.in b/doc/salome/gui/conf.py.in index e4c281156..8a6e003f0 100644 --- a/doc/salome/gui/conf.py.in +++ b/doc/salome/gui/conf.py.in @@ -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 # " v documentation". -- 2.39.2