From 00ccff5a0dec0a0a84ef656d839c188b149574b6 Mon Sep 17 00:00:00 2001 From: melissaml Date: Thu, 4 Jun 2020 14:08:43 +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: I535b0627c37db7eb70c699642da0ffae36590329 --- doc/source/conf.py | 2 +- releasenotes/source/conf.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 94dd2cad..5965d82e 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,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 -------------------------------------------------- diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 41127d04..fe5ddced 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -96,7 +96,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 = [] @@ -231,7 +231,6 @@ man_pages = [ # If true, show URL addresses after external links. # man_show_urls = False - # -- Options for Texinfo output ------------------------------------------- # Grouping the document tree into Texinfo files. List of tuples