From 08855bd1f9c2cfd1bc3856a791a098e46a19e864 Mon Sep 17 00:00:00 2001 From: melissaml Date: Thu, 4 Jun 2020 14:49:40 +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: Ic49f4d682e35ca74443b2b288fbcde24bfdb7b42 --- doc/source/conf.py | 3 +-- releasenotes/source/conf.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index a4adcbc..6870813 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -53,7 +53,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' # -- Options for HTML output -------------------------------------------------- @@ -64,7 +64,6 @@ pygments_style = 'sphinx' # html_static_path = ['static'] html_theme = 'openstackdocs' - # Output file base name for HTML help builder. htmlhelp_basename = '%sdoc' % project diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 70c8381..af9b55f 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -98,7 +98,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 = []