From 8e85c58bb23c7ebb638626d2c0764e2af403aaf8 Mon Sep 17 00:00:00 2001 From: melissaml Date: Thu, 4 Jun 2020 15:54:19 +0800 Subject: 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 --- doc/source/conf.py | 4 +--- releasenotes/source/conf.py | 2 +- 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 = [] -- cgit v1.2.1