From 199254c20db5b779b0e24b97c6a6065ddfcd0346 Mon Sep 17 00:00:00 2001 From: gugug Date: Wed, 20 May 2020 08:02:26 +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: I3fc2034c75efa2d09fb7c0ba6785f70f721acf21 --- 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 3aec3a4a..654a2fe4 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -51,7 +51,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 4843ffea..680dc330 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -87,7 +87,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 = [] @@ -95,7 +95,6 @@ pygments_style = 'sphinx' # If true, keep warnings as "system message" paragraphs in the built documents. # keep_warnings = False - # -- Options for HTML output ---------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for