Browse Source

Merge "Build pdf doc"

tags/2.0.0^0
Zuul 2 weeks ago
parent
commit
eaa2cd7768
4 changed files with 13 additions and 6 deletions
  1. 5
    4
      doc/source/conf.py
  2. 1
    1
      lower-constraints.txt
  3. 1
    1
      test-requirements.txt
  4. 6
    0
      tox.ini

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

@@ -36,7 +36,6 @@ source_suffix = '.rst'
36 36
 master_doc = 'index'
37 37
 
38 38
 # General information about the project.
39
-project = u'sushy'
40 39
 copyright = u'2016, OpenStack Foundation'
41 40
 
42 41
 # If true, '()' will be appended to :func: etc. cross-reference text.
@@ -58,15 +57,17 @@ html_theme = 'openstackdocs'
58 57
 # html_static_path = ['static']
59 58
 
60 59
 # Output file base name for HTML help builder.
61
-htmlhelp_basename = '%sdoc' % project
60
+htmlhelp_basename = 'sushydoc'
61
+
62
+latex_use_xindy = False
62 63
 
63 64
 # Grouping the document tree into LaTeX files. List of tuples
64 65
 # (source start file, target name, title, author, documentclass
65 66
 # [howto/manual]).
66 67
 latex_documents = [
67 68
     ('index',
68
-     '%s.tex' % project,
69
-     u'%s Documentation' % project,
69
+     'doc-sushy.tex',
70
+     u'Sushy Documentation',
70 71
      u'OpenStack Foundation', 'manual'),
71 72
 ]
72 73
 

+ 1
- 1
lower-constraints.txt View File

@@ -17,7 +17,7 @@ MarkupSafe==1.0
17 17
 mccabe==0.2.1
18 18
 mock==2.0.0
19 19
 mox3==0.20.0
20
-openstackdocstheme==1.18.1
20
+openstackdocstheme==1.20.0
21 21
 os-client-config==1.28.0
22 22
 oslotest==3.2.0
23 23
 pbr==2.0.0

+ 1
- 1
test-requirements.txt View File

@@ -8,7 +8,7 @@ coverage!=4.4,>=4.0 # Apache-2.0
8 8
 python-subunit>=1.0.0 # Apache-2.0/BSD
9 9
 sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
10 10
 sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
11
-openstackdocstheme>=1.18.1 # Apache-2.0
11
+openstackdocstheme>=1.20.0 # Apache-2.0
12 12
 oslotest>=3.2.0 # Apache-2.0
13 13
 stestr>=2.0.0 # Apache-2.0
14 14
 testscenarios>=0.4 # Apache-2.0/BSD

+ 6
- 0
tox.ini View File

@@ -42,6 +42,12 @@ commands = coverage erase
42 42
 basepython = python3
43 43
 commands = python setup.py build_sphinx
44 44
 
45
+[testenv:pdf-docs]
46
+basepython = python3
47
+whitelist_externals = make
48
+commands = sphinx-build -b latex doc/source doc/build/pdf
49
+           make -C doc/build/pdf
50
+
45 51
 [testenv:releasenotes]
46 52
 basepython = python3
47 53
 commands =

Loading…
Cancel
Save