From 830b142352022846afc40984f6b6fe5545fc5ef2 Mon Sep 17 00:00:00 2001 From: Christophe Bourcier Date: Tue, 25 Feb 2020 09:20:59 +0100 Subject: [PATCH] Change sphinx theme to use read the docs --- doc/salome/gui/SMESH/conf.py.in | 4 ++-- src/Tools/MGCleanerPlug/doc/conf.py.in | 4 ++-- src/Tools/Verima/Doc/conf.py.in | 4 ++-- src/Tools/YamsPlug/doc/conf.py.in | 4 ++-- src/Tools/blocFissure/doc/conf.py.in | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/salome/gui/SMESH/conf.py.in b/doc/salome/gui/SMESH/conf.py.in index d11dbd5c4..e6418ab36 100644 --- a/doc/salome/gui/SMESH/conf.py.in +++ b/doc/salome/gui/SMESH/conf.py.in @@ -98,7 +98,7 @@ exclude_patterns = ['**/CVS'] #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'default' # Options for HTML output @@ -106,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'. -html_theme = 'default' if sphinx.version_info[:2] < (1,3) else 'classic' +html_theme = 'sphinx_rtd_theme' themes_options = {} themes_options['classic'] = { 'body_max_width':'none', diff --git a/src/Tools/MGCleanerPlug/doc/conf.py.in b/src/Tools/MGCleanerPlug/doc/conf.py.in index 560450bf1..c2d192ba9 100644 --- a/src/Tools/MGCleanerPlug/doc/conf.py.in +++ b/src/Tools/MGCleanerPlug/doc/conf.py.in @@ -75,7 +75,7 @@ release = '@SALOMESMESH_VERSION@' #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'default' # Options for HTML output @@ -83,7 +83,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 = 'default' if sphinx.version_info[:2] < (1,3) else 'classic' +html_theme = 'sphinx_rtd_theme' themes_options = {} themes_options['classic'] = { 'body_max_width':'none', diff --git a/src/Tools/Verima/Doc/conf.py.in b/src/Tools/Verima/Doc/conf.py.in index d4b53b638..fd5b7d477 100644 --- a/src/Tools/Verima/Doc/conf.py.in +++ b/src/Tools/Verima/Doc/conf.py.in @@ -75,7 +75,7 @@ release = '@SALOMESMESH_VERSION@' #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'default' # Options for HTML output @@ -83,7 +83,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 = 'default' if sphinx.version_info[:2] < (1,3) else 'classic' +html_theme = 'sphinx_rtd_theme' themes_options = {} themes_options['classic'] = { 'body_max_width':'none', diff --git a/src/Tools/YamsPlug/doc/conf.py.in b/src/Tools/YamsPlug/doc/conf.py.in index 2a4b99286..adefe21f6 100644 --- a/src/Tools/YamsPlug/doc/conf.py.in +++ b/src/Tools/YamsPlug/doc/conf.py.in @@ -75,7 +75,7 @@ release = '@SALOMESMESH_VERSION@' #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'default' # Options for HTML output @@ -83,7 +83,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 = 'default' if sphinx.version_info[:2] < (1,3) else 'classic' +html_theme = 'sphinx_rtd_theme' themes_options = {} themes_options['classic'] = { 'body_max_width':'none', diff --git a/src/Tools/blocFissure/doc/conf.py.in b/src/Tools/blocFissure/doc/conf.py.in index d6db7e5ce..d4f8670a2 100644 --- a/src/Tools/blocFissure/doc/conf.py.in +++ b/src/Tools/blocFissure/doc/conf.py.in @@ -74,7 +74,7 @@ release = '@SALOMESMESH_VERSION@' #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'default' # Options for HTML output @@ -84,7 +84,7 @@ pygments_style = 'sphinx' # must exist either in Sphinx' static/ path, or in one of the custom paths # given in html_static_path. #html_style = 'default' -html_theme = 'default' +html_theme = 'sphinx_rtd_theme' # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". -- 2.39.2