From a401a820ec1642cff5a8fbe3b29175d81dd038b3 Mon Sep 17 00:00:00 2001 From: Roman Sokolkov Date: Wed, 13 Jul 2016 17:34:33 +0300 Subject: [PATCH] Few PDF documentation improvements - Removed blank pages from PDF - Added version to PDF document name - Removed alone "Contents" string from PDF Change-Id: Ie87577b4c8930416f64d965ca398af2a679a81d4 --- doc/source/conf.py | 5 ++++- doc/source/index.rst | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index a5ef647..40d48e8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -204,6 +204,9 @@ htmlhelp_basename = 'NetApppluginforFueldoc' # -- Options for LaTeX output --------------------------------------------- latex_elements = { +# No blank pages +'classoptions': ',openany,oneside', 'babel': '\\usepackage[english]{babel}' + # The paper size ('letterpaper' or 'a4paper'). #'papersize': 'letterpaper', @@ -221,7 +224,7 @@ latex_elements = { # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - (master_doc, 'NetApppluginforFuel.tex', 'NetApp plugin for Fuel Documentation', + (master_doc, 'NetApppluginforFuel-' + version + '.tex', 'NetApp plugin for Fuel Documentation', u'Mirantis Inc.', 'manual'), ] diff --git a/doc/source/index.rst b/doc/source/index.rst index 73e5c81..167ad77 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -5,8 +5,6 @@ Guide to the Cinder NetApp plugin ver. 5.0.0 This document will guide you through the steps to install, configure and use Cinder NetApp plugin for Fuel. -Contents: - .. toctree:: :maxdepth: 2