From 18e76738e792decd91c6b6a9ae51d738e052f907 Mon Sep 17 00:00:00 2001 From: melissaml Date: Thu, 4 Jun 2020 14:25:42 +0800 Subject: [PATCH] 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: I48e1636ea38c51aa71ca60fcf8387b7a0c9c4d8e --- doc/source/conf.py | 2 +- releasenotes/source/conf.py | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 8cf594b5..827d8d02 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -57,7 +57,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' # A list of ignored prefixes for module index sorting. modindex_common_prefix = ['oslo_cache.'] diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 1511f345..c556487f 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 = [] @@ -106,7 +106,6 @@ pygments_style = 'sphinx' # If true, keep warnings as "system message" paragraphs in the built documents. # keep_warnings = False - # -- Options for HTML output ---------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for @@ -191,7 +190,6 @@ html_static_path = ['_static'] # Output file base name for HTML help builder. htmlhelp_basename = 'oslo.cacheReleaseNotesDoc' - # -- Options for LaTeX output --------------------------------------------- latex_elements = { @@ -234,7 +232,6 @@ latex_documents = [ # If false, no module index is generated. # latex_domain_indices = True - # -- Options for manual page output --------------------------------------- # One entry per manual page. List of tuples @@ -248,7 +245,6 @@ man_pages = [ # If true, show URL addresses after external links. # man_show_urls = False - # -- Options for Texinfo output ------------------------------------------- # Grouping the document tree into Texinfo files. List of tuples