From ffb62b9d4928a9ca999d5f9439dafacf2510737f Mon Sep 17 00:00:00 2001 From: melissaml Date: Thu, 4 Jun 2020 14:33:53 +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: I69a051117890860e3dc524a6361f5acb21820a02 --- 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 2a505e2..2767e5c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -48,7 +48,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 -------------------------------------------------- diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index b952b79..6322455 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -91,7 +91,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 = [] @@ -99,7 +99,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 @@ -180,7 +179,6 @@ html_static_path = ['_static'] # Output file base name for HTML help builder. htmlhelp_basename = 'oslo.contextReleaseNotesDoc' - # -- Options for LaTeX output --------------------------------------------- # Grouping the document tree into LaTeX files. List of tuples @@ -212,7 +210,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 @@ -226,7 +223,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