diff options
author | melissaml <ma.lei@99cloud.net> | 2020-06-04 15:16:56 +0800 |
---|---|---|
committer | melissaml <ma.lei@99cloud.net> | 2020-06-04 15:17:23 +0800 |
commit | c18a019484356ce15da4f60f9147f7e8c019ae0c (patch) | |
tree | ac1ff205eb648c6cf240d83255bdbb9e37567ea4 | |
parent | e8364207ebd0c04c77e25d65b317093365749fd9 (diff) | |
download | oslo-db-c18a019484356ce15da4f60f9147f7e8c019ae0c.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: I572495d50e0edc8bdfe22594dcde30a61b0750b8
-rwxr-xr-x | 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 2cc5a9a..9b867dc 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -41,19 +41,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_db.'] - # -- 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' - # -- sphinxcontrib.apidoc configuration -------------------------------------- apidoc_module_dir = '../../oslo_db' diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 6ef9710..efef05f 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 = [] |