From 759cb759608f2da3f2d23da7784ded0e1b787dbf Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Fri, 19 Oct 2018 16:16:20 -0700 Subject: [PATCH] Update docs conf.py for openstackdocstheme change A Starlingx patch[1] changed the signature for some openstackdocstheme methods which is causing Octavia docs to not build. This patch updates the octavia docs configuration for the new openstackdocstheme. [1] https://review.openstack.org/#/c/607298 Change-Id: Id09ab3b78291c28e116f1f4ffb8836eac0537d94 --- api-ref/source/conf.py | 4 ++-- doc/source/conf.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index be308cde0f..e35586970a 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -194,8 +194,8 @@ htmlhelp_basename = 'octaviadoc' # -- Options for LaTeX output ------------------------------------------------- -pdf_theme_path = openstackdocstheme.get_pdf_theme_path() -openstack_logo = openstackdocstheme.get_openstack_logo_path() +pdf_theme_path = openstackdocstheme.get_pdf_theme_path('openstackdocs') +openstack_logo = openstackdocstheme.get_theme_logo_path('openstackdocs') latex_custom_template = r""" \newcommand{\openstacklogo}{%s} diff --git a/doc/source/conf.py b/doc/source/conf.py index 7abbc275b8..bf622168de 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -208,8 +208,8 @@ htmlhelp_basename = 'Octavia-Specsdoc' # -- Options for LaTeX output ------------------------------------------------- -pdf_theme_path = openstackdocstheme.get_pdf_theme_path() -openstack_logo = openstackdocstheme.get_openstack_logo_path() +pdf_theme_path = openstackdocstheme.get_pdf_theme_path('openstackdocs') +openstack_logo = openstackdocstheme.get_theme_logo_path('openstackdocs') latex_custom_template = r""" \newcommand{\openstacklogo}{%s}