From 8ad02c958f1cf33a6da4dda651cf900064fe7aac Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 24 Nov 2018 18:54:55 +0100 Subject: [PATCH] Update openstackdocstheme, use Storyboard Require current openstackdocstheme for building - and remove now obsolete options from conf.py. The repo is now handled in storyboard, so update the settings for storyboard. Change-Id: I1599d3c27c83f5bb95122e20d6c65fee388a9dc3 --- doc/requirements.txt | 2 +- doc/source/conf.py | 28 ++-------------------------- 2 files changed, 3 insertions(+), 27 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index d68d1264..6912fc36 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,6 +1,6 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -openstackdocstheme>=1.18.1 # Apache-2.0 +openstackdocstheme>=1.27.1 # Apache-2.0 doc8>=0.6.0 # Apache-2.0 sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD diff --git a/doc/source/conf.py b/doc/source/conf.py index 63276d66..c1515437 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,9 +52,7 @@ master_doc = 'index' # General information about the project. repository_name = "openstack/ha-guide" -bug_project = 'openstack-manuals' -project = u'High Availability Guide' -bug_tag = u'ha-guide' +use_storyboard = True copyright = u'2016-present, OpenStack contributors' # The version info for the project you're documenting, acts as replacement for @@ -153,7 +151,7 @@ html_theme_options = { # So that we can enable "log-a-bug" links from each output HTML page, this # variable must be set to a format that includes year, month, day, hours and # minutes. -html_last_updated_fmt = '%Y-%m-%d %H:%M' +# html_last_updated_fmt = '%Y-%m-%d %H:%M' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. @@ -200,28 +198,6 @@ html_copy_source = False # -- Options for LaTeX output --------------------------------------------- -latex_engine = 'xelatex' - -latex_elements = { - # The paper size ('letterpaper' or 'a4paper'). - # 'papersize': 'letterpaper', - - # set font (TODO: different fonts for translated PDF document builds) - 'fontenc': '\\usepackage{fontspec}', - 'fontpkg': '''\ -\defaultfontfeatures{Scale=MatchLowercase} -\setmainfont{Liberation Serif} -\setsansfont{Liberation Sans} -\setmonofont[SmallCapsFont={Liberation Mono}]{Liberation Mono} -''', - - # The font size ('10pt', '11pt' or '12pt'). - # 'pointsize': '10pt', - - # Additional stuff for the LaTeX preamble. - # 'preamble': '', -} - # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]).