Browse Source

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
changes/04/619904/3
Andreas Jaeger 7 months ago
parent
commit
8ad02c958f
2 changed files with 3 additions and 27 deletions
  1. 1
    1
      doc/requirements.txt
  2. 2
    26
      doc/source/conf.py

+ 1
- 1
doc/requirements.txt View File

@@ -1,6 +1,6 @@
1 1
 # The order of packages is significant, because pip processes them in the order
2 2
 # of appearance. Changing the order has an impact on the overall integration
3 3
 # process, which may cause wedges in the gate later.
4
-openstackdocstheme>=1.18.1 # Apache-2.0
4
+openstackdocstheme>=1.27.1 # Apache-2.0
5 5
 doc8>=0.6.0 # Apache-2.0
6 6
 sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD

+ 2
- 26
doc/source/conf.py View File

@@ -52,9 +52,7 @@ master_doc = 'index'
52 52
 
53 53
 # General information about the project.
54 54
 repository_name = "openstack/ha-guide"
55
-bug_project = 'openstack-manuals'
56
-project = u'High Availability Guide'
57
-bug_tag = u'ha-guide'
55
+use_storyboard = True
58 56
 copyright = u'2016-present, OpenStack contributors'
59 57
 
60 58
 # The version info for the project you're documenting, acts as replacement for
@@ -153,7 +151,7 @@ html_theme_options = {
153 151
 # So that we can enable "log-a-bug" links from each output HTML page, this
154 152
 # variable must be set to a format that includes year, month, day, hours and
155 153
 # minutes.
156
-html_last_updated_fmt = '%Y-%m-%d %H:%M'
154
+# html_last_updated_fmt = '%Y-%m-%d %H:%M'
157 155
 
158 156
 # If true, SmartyPants will be used to convert quotes and dashes to
159 157
 # typographically correct entities.
@@ -200,28 +198,6 @@ html_copy_source = False
200 198
 
201 199
 # -- Options for LaTeX output ---------------------------------------------
202 200
 
203
-latex_engine = 'xelatex'
204
-
205
-latex_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 201
 # Grouping the document tree into LaTeX files. List of tuples
226 202
 # (source start file, target name, title,
227 203
 #  author, documentclass [howto, manual, or own class]).

Loading…
Cancel
Save