summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormelissaml <ma.lei@99cloud.net>2020-06-04 14:49:40 +0800
committermelissaml <ma.lei@99cloud.net>2020-06-04 14:49:40 +0800
commit08855bd1f9c2cfd1bc3856a791a098e46a19e864 (patch)
tree0cc5e43882fe57e2311164fd30c7ba9c9af54154
parent9b81f6fb74b58dd53532349a86f14b51db8d6a96 (diff)
downloadoslo-serialization-08855bd1f9c2cfd1bc3856a791a098e46a19e864.tar.gz
Fix pygments style
New theme of docs respects pygments_style. more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: Ic49f4d682e35ca74443b2b288fbcde24bfdb7b42
-rw-r--r--doc/source/conf.py3
-rw-r--r--releasenotes/source/conf.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index a4adcbc..6870813 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -53,7 +53,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 --------------------------------------------------
@@ -64,7 +64,6 @@ pygments_style = 'sphinx'
# html_static_path = ['static']
html_theme = 'openstackdocs'
-
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index 70c8381..af9b55f 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/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 = []