From 6686b5bfe483b6a518a984b594bb18f9b4239683 Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Wed, 25 Nov 2015 22:23:01 +0900 Subject: doc: fix rst and jjb to have consistent view in html and pdf JIRA: RELENG-16 Change-Id: I6e36f16be6e1c9160820d137a78ac1e7674153f0 Signed-off-by: Ryota MIBU --- docs/etc/conf.py | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) (limited to 'docs/etc') diff --git a/docs/etc/conf.py b/docs/etc/conf.py index 68e847ee9..6245cc069 100644 --- a/docs/etc/conf.py +++ b/docs/etc/conf.py @@ -1,29 +1,23 @@ -import datetime -import sys -import os +''' +Base configuration file for sphinx-build. -needs_sphinx = '1.3' +You can override this configuration by putting 'conf.py' in the document +directory (e.g. how-to-use-docs/conf.py). +''' -numfig = True +import datetime -source_suffix = '.rst' +needs_sphinx = '1.3' master_doc = 'index' pygments_style = 'sphinx' -html_use_index = False -html_logo = 'opnfv-logo.png' -pdf_documents = [('index', u'Copper', u'Copper Project', u'OPNFV')] -pdf_fit_mode = "shrink" -pdf_stylesheets = ['sphinx','kerning','a4'] -#latex_domain_indices = False -#latex_use_modindex = False +html_use_index = False +numfig = True +html_logo = '../etc/opnfv-logo.png' -latex_elements = { - 'printindex': '', -} -latex_logo = 'opnfv-logo.png' +latex_elements = {'printindex': ''} +latex_logo = '../etc/opnfv-logo.png' -project = u'Copper: Virtual Infrastructure Deployment Policies' copyright = u'%s, OPNFV' % datetime.date.today().year version = u'1.0.0' release = u'1.0.0' -- cgit 1.2.3-korg