From 96a5730a429c3eba5d0f2f98d0ad0bae4cefcec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Tue, 19 May 2020 20:08:46 +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: Iaf3c70b24685ab962f29007deec10b9d53c663bc --- deploy-guide/source/conf.py | 2 +- doc/source/conf.py | 2 +- releasenotes/source/conf.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy-guide/source/conf.py b/deploy-guide/source/conf.py index 839086edd4..d89fc586cd 100644 --- a/deploy-guide/source/conf.py +++ b/deploy-guide/source/conf.py @@ -107,7 +107,7 @@ exclude_patterns = ["common_prerequisites.rst", "common_configure.rst"] # 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 = [] diff --git a/doc/source/conf.py b/doc/source/conf.py index 48bdee8de6..671469526a 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 08c5259f5e..a542c00e9a 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -85,7 +85,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 = []