summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormelissaml <ma.lei@99cloud.net>2020-06-04 15:54:19 +0800
committermelissaml <ma.lei@99cloud.net>2020-06-04 15:54:40 +0800
commit8e85c58bb23c7ebb638626d2c0764e2af403aaf8 (patch)
tree9daca8d237fc4622ed610f0983051d07931e04df
parent174b29162d239bc3e9d74e689e9de7db01b3396c (diff)
downloadoslo-concurrency-8e85c58bb23c7ebb638626d2c0764e2af403aaf8.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: I8847feba7669feed9edf9d7f7ba48af26760c298
-rwxr-xr-xdoc/source/conf.py4
-rw-r--r--releasenotes/source/conf.py2
2 files changed, 2 insertions, 4 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 2620b8d..9904cec 100755
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -42,14 +42,12 @@ 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 -------------------------------------------------
html_theme = 'openstackdocs'
-
# -- sphinxcontrib.apidoc configuration --------------------------------------
apidoc_module_dir = '../../'
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index 8045747..8d67723 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 = []