From 9e457deba01eabccb63d101012b83961977e69c8 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 20 May 2020 21:56:41 +0200 Subject: [PATCH] Fix pygments_style Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. Change-Id: Icd9d529dbe66626ac53a9fdca5bc6821998a0b7d --- api-guide/source/conf.py | 2 +- api-ref/source/conf.py | 2 +- doc/source/conf.py | 2 +- releasenotes/source/conf.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api-guide/source/conf.py b/api-guide/source/conf.py index fafb397e197..e07de9e4509 100644 --- a/api-guide/source/conf.py +++ b/api-guide/source/conf.py @@ -92,7 +92,7 @@ # show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # A list of ignored prefixes for module index sorting. # modindex_common_prefix = [] diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index e17a59eb75a..ddcca926e72 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -48,7 +48,7 @@ openstackdocs_bug_tag = 'api-ref' # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # -- Options for HTML output -------------------------------------------------- diff --git a/doc/source/conf.py b/doc/source/conf.py index 4d3fe75f9a2..45fb781f016 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -70,7 +70,7 @@ copyright = u'2010-present, OpenStack Foundation' # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # -- Options for man page output ---------------------------------------------- diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 42941e71a0c..81435840641 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -77,7 +77,7 @@ #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = []