From a23e1c455626c639c3f1a01bf5c0dd11401bc8e4 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 22 Oct 2018 20:15:46 +0200 Subject: [PATCH] The theme is openstackdocs Fix path lookup, see https://review.openstack.org/#/c/607298/12/openstackdocstheme/paths.py and openstackdocstheme/ext.py where we check for "openstackdocs" and not "openstack". Change-Id: I669b0368f27916b027205828cf3982657c64326d --- openstackdocstheme/paths.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openstackdocstheme/paths.py b/openstackdocstheme/paths.py index 114bc372..ba553022 100644 --- a/openstackdocstheme/paths.py +++ b/openstackdocstheme/paths.py @@ -24,13 +24,13 @@ def get_html_theme_path(): return os.path.join(get_pkg_path(), 'theme') -def get_pdf_theme_path(theme='openstack'): +def get_pdf_theme_path(theme='openstackdocs'): """Return the directory containing PDF theme for local builds.""" args = ['theme', theme + '_pdf', 'pdftheme'] return os.path.join(get_pkg_path(), *args) -def get_theme_logo_path(theme='openstack'): +def get_theme_logo_path(theme='openstackdocs'): """Return the directory containing theme logo for local builds.""" args = ['theme', theme + '_pdf', 'logo-full.png'] return os.path.join(get_pkg_path(), *args) @@ -38,5 +38,5 @@ def get_theme_logo_path(theme='openstack'): # This function is for compatibility with previous releases. def get_openstack_logo_path(): - """Return the directory containing openstack logo for local builds.""" - return get_theme_logo_path('openstack') + """Return the directory containing OpenStack logo for local builds.""" + return get_theme_logo_path('openstackdocs')