From 85b0e1eed866d1ba6b154ccb4458adb19d6c3646 Mon Sep 17 00:00:00 2001 From: melissaml Date: Thu, 4 Jun 2020 15:30:40 +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: I9c03ccdf5dd63f2f13b34f72ebbe8c77168287b6 --- 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 201bb962..0ec69f1d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -51,19 +51,17 @@ 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_policy.'] - # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. html_theme = 'openstackdocs' - # -- sphinx.ext.extlinks configuration --------------------------------------- extlinks = { diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index b72c0a46..23e98c1f 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 = []