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
This commit is contained in:
Andreas Jaeger 2018-10-22 20:15:46 +02:00
parent 47908ab958
commit a23e1c4556

View File

@ -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')