From 271ecdd1193b7a8a8f0f419bff1b401b7a1c17db Mon Sep 17 00:00:00 2001 From: gugug <gu.jin@99cloud.net> Date: Wed, 20 May 2020 08:48:20 +0800 Subject: [PATCH] Fix pygments style New theme of docs respects pygments_style. more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I5d87b0e4da19a51c47f02e5a88957ce1fea4c21d --- api-ref/source/conf.py | 2 +- doc/source/conf.py | 2 +- releasenotes/source/conf.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index aea4cf4dd3..0654c31e3c 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -98,7 +98,7 @@ add_module_names = False show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # -- Options for man page output ---------------------------------------------- diff --git a/doc/source/conf.py b/doc/source/conf.py index ecbedec6ff..948daceda1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -124,7 +124,7 @@ add_function_parentheses = True add_module_names = True # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # A list of glob-style patterns that should be excluded when looking for # source files. They are matched against the source file names relative to the diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index c1b9c0b460..7cefab1043 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -105,7 +105,7 @@ exclude_patterns = [] # 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 = []