From 4a74a7a0eeac9018566b1716a2afb5f55c9d72d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Tue, 19 May 2020 20:12:21 +0200 Subject: [PATCH] Fix pygments style New theme of docs (Victoria+) respects pygments_style. Since Kolla starts using Victoria reqs while being on Ussuri, this patch ensures proper rendering both in Ussuri and Victoria. Thanks @AJaeger for suggestion. Change-Id: I6059fff6278ffa0648e241bc15bc8644c493857c --- 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 fd4d7e18ee..fbde9778e5 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -59,7 +59,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 ef82634675..12dd705478 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -84,7 +84,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 = []