Browse Source

Merge "Update openstackdocstheme, use Storyboard"

Zuul 4 months ago
parent
commit
1f981beb39
3 changed files with 6 additions and 29 deletions
  1. 1
    1
      doc/requirements.txt
  2. 2
    23
      doc/source/conf.py
  3. 3
    5
      doc/source/preface.rst

+ 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
- 23
doc/source/conf.py View File

@@ -53,9 +53,7 @@ master_doc = 'index'
53 53
 
54 54
 # General information about the project.
55 55
 repository_name = "openstack/operations-guide"
56
-bug_project = 'openstack-manuals'
57
-project = u'Operations Guide'
58
-bug_tag = u'ops-guide'
56
+use_storyboard = True
59 57
 copyright = u'2016-present, OpenStack contributors'
60 58
 
61 59
 # The language for content autogenerated by Sphinx. Refer to documentation
@@ -142,7 +140,7 @@ html_theme = 'openstackdocs'
142 140
 # So that we can enable "log-a-bug" links from each output HTML page, this
143 141
 # variable must be set to a format that includes year, month, day, hours and
144 142
 # minutes.
145
-html_last_updated_fmt = '%Y-%m-%d %H:%M'
143
+# html_last_updated_fmt = '%Y-%m-%d %H:%M'
146 144
 
147 145
 # If true, SmartyPants will be used to convert quotes and dashes to
148 146
 # typographically correct entities.
@@ -196,25 +194,6 @@ latex_custom_template = r"""
196 194
 \usepackage{%s}
197 195
 """ % (openstack_logo, pdf_theme_path)
198 196
 
199
-latex_engine = 'xelatex'
200
-
201
-latex_elements = {
202
-    # The paper size ('letterpaper' or 'a4paper').
203
-    'papersize': 'a4paper',
204
-
205
-    # The font size ('10pt', '11pt' or '12pt').
206
-    'pointsize': '11pt',
207
-
208
-    #Default figure align
209
-    'figure_align': 'H',
210
-
211
-    # Not to generate blank page after chapter
212
-    'classoptions': ',openany',
213
-
214
-    # Additional stuff for the LaTeX preamble.
215
-    'preamble': latex_custom_template,
216
-}
217
-
218 197
 # Grouping the document tree into LaTeX files. List of tuples
219 198
 # (source start file, target name, title,
220 199
 #  author, documentclass [howto, manual, or own class]).

+ 3
- 5
doc/source/preface.rst View File

@@ -402,9 +402,7 @@ Documentation Contributor
402 402
 Guide <https://docs.openstack.org/doc-contrib-guide/>`_.
403 403
 
404 404
 If you find a bug and can't fix it or aren't sure it's really a doc bug,
405
-log a bug at `OpenStack
406
-Manuals <https://bugs.launchpad.net/openstack-manuals>`_. Tag the bug
407
-under Extra options with the ``ops-guide`` tag to indicate that the bug
408
-is in this guide. You can assign the bug to yourself if you know how to
409
-fix it. Also, a member of the OpenStack doc-core team can triage the doc
405
+log a bug in `
406
+Storyboard <https://storyboard.openstack.org/#!/project/openstack/operations-guide>`_. You can assign the bug to yourself if you know how to
407
+fix it. Also, a member of the OpenStack operations-doc team can triage the doc
410 408
 bug.

Loading…
Cancel
Save