diff options
author | melissaml <ma.lei@99cloud.net> | 2020-06-04 15:30:40 +0800 |
---|---|---|
committer | melissaml <ma.lei@99cloud.net> | 2020-06-04 15:30:40 +0800 |
commit | 85b0e1eed866d1ba6b154ccb4458adb19d6c3646 (patch) | |
tree | 84e0e73aaf65cf18161682c7acf1dba7638796fd | |
parent | 90009d338c85cba32529de280faec905126d57dd (diff) | |
download | oslo-policy-85b0e1eed866d1ba6b154ccb4458adb19d6c3646.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: I9c03ccdf5dd63f2f13b34f72ebbe8c77168287b6
-rw-r--r-- | doc/source/conf.py | 4 | ||||
-rw-r--r-- | 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 201bb96..0ec69f1 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 b72c0a4..23e98c1 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 = [] |