summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzihao <fuzihao@inspur.com>2020-05-20 10:25:25 +0800
committerfuzihao <fuzihao@inspur.com>2020-05-20 15:27:49 +0800
commit9b6d1c7e88df409fdf272dd0a97e5f65c5fadd50 (patch)
treef5183b19193a14214e0d27e536b773da08c716ba
parent5840efe1d62d67735e6986512a66ddd1991fd60d (diff)
downloadpython-swiftclient-9b6d1c7e88df409fdf272dd0a97e5f65c5fadd50.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: Iad418798277b9d7a1190e42e9079080a3d2707f3
-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 a8ad3ad..5f88f5a 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -88,7 +88,7 @@ exclude_trees = []
# 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 c71f41d..9bdbbe4 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -108,7 +108,7 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# 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 = []