From a02de6732e9bdf0804249159ed72f80273e268bc Mon Sep 17 00:00:00 2001 From: chenxing Date: Wed, 29 May 2019 18:04:03 +0800 Subject: Fix the deploy guide build failed Depends-On: https://review.opendev.org/662209 Co-authored-by: Stephen Finucane Closes-Bug: #1830586 Change-Id: I48d3f4c5f7c04b1ab41b3bad2a6c19e1e9a218fd --- deploy-guide/source/conf.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'deploy-guide/source/conf.py') diff --git a/deploy-guide/source/conf.py b/deploy-guide/source/conf.py index c9279d8ce..c1a73ce7e 100644 --- a/deploy-guide/source/conf.py +++ b/deploy-guide/source/conf.py @@ -23,9 +23,6 @@ import os # import sys - -import openstackdocstheme - # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. @@ -40,7 +37,9 @@ import openstackdocstheme # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. # TODO(ajaeger): enable PDF building, for example add 'rst2pdf.pdfbuilder' -# extensions = +extensions = [ + 'openstackdocstheme', +] # Add any paths that contain templates here, relative to this directory. # templates_path = ['_templates'] @@ -129,7 +128,7 @@ html_theme = 'openstackdocs' # html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. -html_theme_path = [openstackdocstheme.get_html_theme_path()] +# html_theme_path = [openstackdocstheme.get_html_theme_path()] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". @@ -296,3 +295,9 @@ pdf_documents = [ ('index', u'DeployGuide', u'Deploy Guide', u'OpenStack contributors') ] + +# -- Options for openstackdocstheme ------------------------------------------- + +openstack_projects = [ + 'kolla-ansible', +] -- cgit v1.2.3