Skip to content

Commit aabcff9

Browse files
author
Jaime Melis
committed
Update pdf guides
1 parent 5bbd003 commit aabcff9

File tree

3 files changed

+22
-49
lines changed

3 files changed

+22
-49
lines changed

prepare_latex.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
find source -name "*.rst" | xargs sed -i 's/.. prompt:: .*/.. code-block:: bash/g'

source/_static/opennebula.png

32.2 KB
Loading

source/conf.py

+19-49
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
# The short X.Y version.
6565
version = '5.0'
6666
# The full version, including alpha/beta/rc tags.
67-
release = '5.0 beta'
67+
release = '5.0.0'
6868

6969
# The language for content autogenerated by Sphinx. Refer to documentation
7070
# for a list of supported languages.
@@ -193,55 +193,48 @@
193193
# Output file base name for HTML help builder.
194194
htmlhelp_basename = 'OpenNebuladoc'
195195

196-
197196
# -- Options for LaTeX output --------------------------------------------------
198197

199198
guide_main_title = "OpenNebula %s " % (version,)
200199
file_main_title = "opennebula_%s_" % (version,)
201-
latex_author = "OpenNebula Project"
200+
latex_author = "OpenNebula Systems"
202201

203202
latex_elements = {
204203
# The paper size ('letterpaper' or 'a4paper').
205204
#'papersize': 'letterpaper',
206205

207206
# The font size ('10pt', '11pt' or '12pt').
208207
#'pointsize': '10pt',
209-
208+
'classoptions': ',openany,oneside',
209+
'babel': '\\usepackage[english]{babel}',
210+
'maketitle': '\\maketitle\nThis document is being provided by OpenNebula Systems under the Creative Commons Attribution-NonCommercial-Share Alike License.\\newline{}\\newline{}THE DOCUMENT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE DOCUMENT.'
210211
# Additional stuff for the LaTeX preamble.
211-
#'preamble': '',
212212
}
213213

214214
# Grouping the document tree into LaTeX files. List of tuples
215215
# (source start file, target name, title, author, documentclass [howto/manual]).
216216
latex_documents = [
217-
# Main Guides
218-
( 'release_notes/index',
219-
file_main_title + 'release_notes.tex',
220-
guide_main_title + 'Release Notes',
221-
latex_author,
222-
'manual'),
223-
224-
( 'design_and_installation/index',
225-
file_main_title + 'design_and_installation_guide.tex',
226-
guide_main_title + 'Design and Installation Guide',
217+
( 'intro_release_notes/index',
218+
file_main_title + 'intro_release_notes.tex',
219+
guide_main_title + 'Introduction and Release Notes',
227220
latex_author,
228221
'manual'),
229222

230-
( 'administration/index',
231-
file_main_title + 'administration_guide.tex',
232-
guide_main_title + 'Administration Guide',
223+
( 'deployment/index',
224+
file_main_title + 'deployment_guide.tex',
225+
guide_main_title + 'Deployment guide',
233226
latex_author,
234227
'manual'),
235228

236-
( 'user/index',
237-
file_main_title + 'user_guide.tex',
238-
guide_main_title + 'User Guide',
229+
( 'operation/index',
230+
file_main_title + 'operation_guide.tex',
231+
guide_main_title + 'Operation Guide',
239232
latex_author,
240233
'manual'),
241234

242-
( 'advanced_administration/index',
243-
file_main_title + 'advanced_administration_guide.tex',
244-
guide_main_title + 'Advanced Administration Guide',
235+
( 'advanced_components/index',
236+
file_main_title + 'advanced_components_guide.tex',
237+
guide_main_title + 'Advanced Components Guide',
245238
latex_author,
246239
'manual'),
247240

@@ -250,33 +243,10 @@
250243
guide_main_title + 'Integration Guide',
251244
latex_author,
252245
'manual'),
253-
254-
# Quick Starts
255-
( 'design_and_installation/quick_starts/qs_centos_kvm',
256-
file_main_title + 'qs_centos_kvm_guide.tex',
257-
guide_main_title + 'Quickstart CentOS 6 and KVM',
258-
latex_author,
259-
'manual'),
260-
261-
( 'design_and_installation/quick_starts/qs_centos7_kvm',
262-
file_main_title + 'qs_centos7_kvm_guide.tex',
263-
guide_main_title + 'Quickstart CentOS 7 and KVM',
264-
latex_author,
265-
'manual'),
266-
267-
( 'design_and_installation/quick_starts/qs_ubuntu_kvm',
268-
file_main_title + 'qs_ubuntu_kvm_guide.tex',
269-
guide_main_title + 'Quickstart Ubuntu 12.04 and KVM',
270-
latex_author,
271-
'manual'),
272-
273-
( 'design_and_installation/quick_starts/qs_vdc',
274-
file_main_title + 'qs_vdc.tex',
275-
guide_main_title + 'Quickstart Create Your First VDC',
276-
latex_author,
277-
'manual'),
278246
]
279247

248+
latex_logo = "_static/opennebula.png"
249+
280250
# The name of an image file (relative to this directory) to place at the top of
281251
# the title page.
282252

0 commit comments

Comments
 (0)