From 35f75d3bf69a2d6b8c18ae16d2913c209edeb27a Mon Sep 17 00:00:00 2001 From: gugug Date: Wed, 20 May 2020 08:24:18 +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: I430184f65f1528dfa15b3e6a7810d062226e70e7 --- doc/api-quick-start/source/conf.py | 2 +- doc/common/source/conf.py | 2 +- doc/doc-contrib-guide/source/conf.py | 2 +- doc/glossary/source/conf.py | 2 +- doc/image-guide/source/conf.py | 2 +- doc/install-guide/source/conf.py | 2 +- releasenotes/source/conf.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/api-quick-start/source/conf.py b/doc/api-quick-start/source/conf.py index 7adb65a3b2..645a93534a 100644 --- a/doc/api-quick-start/source/conf.py +++ b/doc/api-quick-start/source/conf.py @@ -95,7 +95,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 = [] diff --git a/doc/common/source/conf.py b/doc/common/source/conf.py index 1b20e8b404..241b108c1f 100644 --- a/doc/common/source/conf.py +++ b/doc/common/source/conf.py @@ -98,7 +98,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 = [] diff --git a/doc/doc-contrib-guide/source/conf.py b/doc/doc-contrib-guide/source/conf.py index 733b506433..22dbc29ef7 100644 --- a/doc/doc-contrib-guide/source/conf.py +++ b/doc/doc-contrib-guide/source/conf.py @@ -104,7 +104,7 @@ exclude_patterns = ['common/app-support.rst', 'common/cli*', 'common/nova*', # 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/glossary/source/conf.py b/doc/glossary/source/conf.py index eae356fde0..1933d86ab9 100644 --- a/doc/glossary/source/conf.py +++ b/doc/glossary/source/conf.py @@ -103,7 +103,7 @@ exclude_patterns = ['common/app-support.rst', 'common/cli*', 'common/nova*', # 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/image-guide/source/conf.py b/doc/image-guide/source/conf.py index d6e2e24a55..15909b0741 100644 --- a/doc/image-guide/source/conf.py +++ b/doc/image-guide/source/conf.py @@ -97,7 +97,7 @@ exclude_patterns = ['common/get-start*', 'common/cli*', 'common/dashboard*', # 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/install-guide/source/conf.py b/doc/install-guide/source/conf.py index bb9f81cfe6..480d3eb490 100644 --- a/doc/install-guide/source/conf.py +++ b/doc/install-guide/source/conf.py @@ -101,7 +101,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 = [] diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 71cb0983e5..7c92a4265d 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 = []