Browse Source

Bump the openstackdocstheme extension to 1.20

Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: Iaad0471ba92a01494dca3c60522358fbbd3ceb86
changes/23/673223/2
pengyuesheng 1 month ago
parent
commit
25945f4363
3 changed files with 5 additions and 6 deletions
  1. 1
    1
      doc/requirements.txt
  2. 3
    4
      doc/source/conf.py
  3. 1
    1
      lower-constraints.txt

+ 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.20.0 # Apache-2.0
5 5
 sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
6 6
 sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD

+ 3
- 4
doc/source/conf.py View File

@@ -35,7 +35,6 @@ source_suffix = '.rst'
35 35
 master_doc = 'index'
36 36
 
37 37
 # General information about the project.
38
-project = u'heat-translator'
39 38
 copyright = u'2013, OpenStack Foundation'
40 39
 
41 40
 # If true, '()' will be appended to :func: etc. cross-reference text.
@@ -52,15 +51,15 @@ pygments_style = 'sphinx'
52 51
 html_theme = 'openstackdocs'
53 52
 
54 53
 # Output file base name for HTML help builder.
55
-htmlhelp_basename = '%sdoc' % project
54
+htmlhelp_basename = 'heat-translatordoc'
56 55
 
57 56
 # Grouping the document tree into LaTeX files. List of tuples
58 57
 # (source start file, target name, title, author, documentclass
59 58
 # [howto/manual]).
60 59
 latex_documents = [
61 60
     ('index',
62
-     '%s.tex' % project,
63
-     u'%s Documentation' % project,
61
+     'heat-translator.tex',
62
+     u'heat-translator Documentation',
64 63
      u'OpenStack Foundation', 'manual'),
65 64
 ]
66 65
 

+ 1
- 1
lower-constraints.txt View File

@@ -35,7 +35,7 @@ msgpack-python==0.4.0
35 35
 munch==2.1.0
36 36
 netaddr==0.7.18
37 37
 netifaces==0.10.4
38
-openstackdocstheme==1.18.1
38
+openstackdocstheme==1.20.0
39 39
 openstacksdk==0.11.2
40 40
 os-client-config==1.28.0
41 41
 os-service-types==1.2.0

Loading…
Cancel
Save