summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzihao <fuzihao@inspur.com>2020-05-20 10:34:58 +0800
committerfuzihao <fuzihao@inspur.com>2020-05-20 15:21:34 +0800
commit17947fb6fc50ccd47f60623c45055040ef1301c3 (patch)
tree7ba060bd5d85880eb381478bd7d1cd14d4f312dd
parent56186d6d5aa1a0c8fde99eeb535a650b0495925d (diff)
downloadpython-glanceclient-17947fb6fc50ccd47f60623c45055040ef1301c3.tar.gz
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: Ic43d545349d8aff1603ed7f8bf3dcd1aa2b3538e
-rw-r--r--doc/source/conf.py2
-rw-r--r--releasenotes/source/conf.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 74d6595..8539e09 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -68,7 +68,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 75aab4d..3bfc4fe 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -93,7 +93,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 = []