From e88a3fa03360b8bc0c5f35d69b61a317ad6463c2 Mon Sep 17 00:00:00 2001 From: fuzihao Date: Wed, 20 May 2020 11:27:56 +0800 Subject: [PATCH] Fix pygments style New theme of docs (Victoria+) respects pygments_style. Since we starts using Victoria reqs while being on Ussuri, this patch ensures proper rendering both in Ussuri and Victoria. Change-Id: If42b2154a5a28f92d89dde9882afa31f01bc5ac3 --- doc/source/conf.py | 2 +- releasenotes/source/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index fa13515..0d9a4e9 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -60,7 +60,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 5041941..725b68d 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -82,7 +82,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 = []