diff options
author | melissaml <ma.lei@99cloud.net> | 2020-06-04 16:00:30 +0800 |
---|---|---|
committer | melissaml <ma.lei@99cloud.net> | 2020-06-04 16:00:30 +0800 |
commit | bfec5fd629541fe2cb76eba563b6afedf963ace6 (patch) | |
tree | 04db80ea7fdd43e93b0d685a709e56c804c022b8 | |
parent | 2b698facfdb175b5d83026af85f55b8c3dc6d3e0 (diff) | |
download | oslo-config-bfec5fd629541fe2cb76eba563b6afedf963ace6.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: I88f448ac7fc7fb72187eb7bdad5bf19f327d8641
-rw-r--r-- | doc/source/conf.py | 8 | ||||
-rw-r--r-- | releasenotes/source/conf.py | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index f999c0b..5ce2034 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -18,9 +18,9 @@ extensions = [ ] # openstackdocstheme options -repository_name = 'openstack/oslo.config' -bug_project = 'oslo.config' -bug_tag = '' +openstackdocs_repo_name = 'openstack/oslo.config' +openstackdocs_bug_project = 'oslo.config' +openstackdocs_bug_tag = '' config_generator_config_file = 'config-generator.conf' @@ -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' # A list of ignored prefixes for module index sorting. modindex_common_prefix = ['oslo_config.'] diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 2ac788f..92eb659 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -43,9 +43,9 @@ extensions = [ ] # openstackdocstheme options -repository_name = 'openstack/oslo.config' -bug_project = 'oslo.config' -bug_tag = '' +openstackdocs_repo_name = 'openstack/oslo.config' +openstackdocs_bug_project = 'oslo.config' +openstackdocs_bug_tag = '' # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -99,7 +99,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 = [] |