From 47ba5f223cc3eb6f3c08d7b3ae147f7f5c52c563 Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Wed, 18 Nov 2015 18:49:27 +0900 Subject: Add PDF creation in docu-build-new.sh This patch adds PDF creation into the default document build script (utils/docu-build-new.sh), and also fixes default config file to avoid numfig issue. JIRA: RELENG-16 Change-Id: I6326d444cdc88e0ca6a748d7e3a9779b4321e57c Signed-off-by: Ryota MIBU --- docs/etc/conf.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/etc/conf.py b/docs/etc/conf.py index 486983f19..671965378 100644 --- a/docs/etc/conf.py +++ b/docs/etc/conf.py @@ -2,16 +2,9 @@ import datetime import sys import os -try: - __import__('imp').find_module('sphinx.ext.numfig') - extensions = ['sphinx.ext.numfig'] -except ImportError: - # 'pip install sphinx_numfig' - extensions = ['sphinx_numfig'] +needs_sphinx = '1.3' -# numfig: -number_figures = True -figure_caption_prefix = "Fig." +numfig = True source_suffix = '.rst' master_doc = 'index' @@ -31,4 +24,4 @@ latex_elements = { 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' \ No newline at end of file +release = u'1.0.0' -- cgit 1.2.3-korg