From c377c02740b2f89ec1282332503ab69f5fba8000 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 22 May 2020 14:36:29 +0200 Subject: [PATCH] Fix published docs Change I90d064e63baa5f067f38a881eb9a556dfb435e97 contained a few typos which broke the PDF and "Report a bug" icons on https://docs.openstack.org/horizon/latest/ . Fix the typos. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. Change-Id: Iab18f322331f13f85f64fb4730d276b9d351b8cc --- doc/source/conf.py | 6 +++--- releasenotes/source/conf.py | 6 +----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 94f8ae79b3..eca1a23169 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -72,8 +72,8 @@ extensions = [ ] # openstackdocstheme options -openstackdocs_repo__name = 'openstack/horizon' -openstackdocs_repo_bug_project = 'horizon' +openstackdocs_repo_name = 'openstack/horizon' +openstackdocs_bug_project = 'horizon' openstackdocs_bug_tag = 'documentation' openstackdocs_pdf_link = True @@ -140,7 +140,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 = ['horizon.', 'openstack_dashboard.'] diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index e529f50a64..13f6e1b81f 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -107,7 +107,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 = [] @@ -156,10 +156,6 @@ html_static_path = ['_static'] # directly to the root of the documentation. # html_extra_path = [] -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -# html_last_updated_fmt = '%b %d, %Y' - # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. # html_use_smartypants = True