summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2018-11-24 18:54:55 +0100
committerAndreas Jaeger <aj@suse.com>2018-11-27 00:00:18 +0100
commit8ad02c958f1cf33a6da4dda651cf900064fe7aac (patch)
tree9a1e91e8930e25f5b3071edb6f298fd9a05c3b56
parent6859a7a1c3b9948c8ccf9ce81dbacfaae09b50a2 (diff)
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
Notes
Notes (review): Code-Review+2: Sean McGinnis <sean.mcginnis@gmail.com> Code-Review+2: Adam Spiers <aspiers@suse.com> Workflow+1: Adam Spiers <aspiers@suse.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 27 Nov 2018 10:49:18 +0000 Reviewed-on: https://review.openstack.org/619904 Project: openstack/ha-guide Branch: refs/heads/master
-rw-r--r--doc/requirements.txt2
-rw-r--r--doc/source/conf.py28
2 files changed, 3 insertions, 27 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index d68d126..6912fc3 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -1,6 +1,6 @@
1# The order of packages is significant, because pip processes them in the order 1# The order of packages is significant, because pip processes them in the order
2# of appearance. Changing the order has an impact on the overall integration 2# of appearance. Changing the order has an impact on the overall integration
3# process, which may cause wedges in the gate later. 3# process, which may cause wedges in the gate later.
4openstackdocstheme>=1.18.1 # Apache-2.0 4openstackdocstheme>=1.27.1 # Apache-2.0
5doc8>=0.6.0 # Apache-2.0 5doc8>=0.6.0 # Apache-2.0
6sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD 6sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 63276d6..c151543 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -52,9 +52,7 @@ master_doc = 'index'
52 52
53# General information about the project. 53# General information about the project.
54repository_name = "openstack/ha-guide" 54repository_name = "openstack/ha-guide"
55bug_project = 'openstack-manuals' 55use_storyboard = True
56project = u'High Availability Guide'
57bug_tag = u'ha-guide'
58copyright = u'2016-present, OpenStack contributors' 56copyright = u'2016-present, OpenStack contributors'
59 57
60# The version info for the project you're documenting, acts as replacement for 58# The version info for the project you're documenting, acts as replacement for
@@ -153,7 +151,7 @@ html_theme_options = {
153# So that we can enable "log-a-bug" links from each output HTML page, this 151# So that we can enable "log-a-bug" links from each output HTML page, this
154# variable must be set to a format that includes year, month, day, hours and 152# variable must be set to a format that includes year, month, day, hours and
155# minutes. 153# minutes.
156html_last_updated_fmt = '%Y-%m-%d %H:%M' 154# html_last_updated_fmt = '%Y-%m-%d %H:%M'
157 155
158# If true, SmartyPants will be used to convert quotes and dashes to 156# If true, SmartyPants will be used to convert quotes and dashes to
159# typographically correct entities. 157# typographically correct entities.
@@ -200,28 +198,6 @@ html_copy_source = False
200 198
201# -- Options for LaTeX output --------------------------------------------- 199# -- Options for LaTeX output ---------------------------------------------
202 200
203latex_engine = 'xelatex'
204
205latex_elements = {
206 # The paper size ('letterpaper' or 'a4paper').
207 # 'papersize': 'letterpaper',
208
209 # set font (TODO: different fonts for translated PDF document builds)
210 'fontenc': '\\usepackage{fontspec}',
211 'fontpkg': '''\
212\defaultfontfeatures{Scale=MatchLowercase}
213\setmainfont{Liberation Serif}
214\setsansfont{Liberation Sans}
215\setmonofont[SmallCapsFont={Liberation Mono}]{Liberation Mono}
216''',
217
218 # The font size ('10pt', '11pt' or '12pt').
219 # 'pointsize': '10pt',
220
221 # Additional stuff for the LaTeX preamble.
222 # 'preamble': '',
223}
224
225# Grouping the document tree into LaTeX files. List of tuples 201# Grouping the document tree into LaTeX files. List of tuples
226# (source start file, target name, title, 202# (source start file, target name, title,
227# author, documentclass [howto, manual, or own class]). 203# author, documentclass [howto, manual, or own class]).