diff options
author | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2015-06-15 19:06:48 +0900 |
---|---|---|
committer | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2015-06-15 19:06:48 +0900 |
commit | f5f310ac975c10f20892cf7f4af82a5414d28899 (patch) | |
tree | c0b0ebf172ade8e34c62b7ff351a461101ccc8ea /etc | |
parent | 4c309f02b2aeee958461b5588959c58c080af28b (diff) |
Ensure 'make' can be execute in top dir.2015.1.0
JIRA: PROMISE-4
Change-Id: I52044f54f0ab8eee5a9a5dcf6392cacae8a2692e
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/conf.py | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/etc/conf.py b/etc/conf.py new file mode 100755 index 0000000..e24d33a --- /dev/null +++ b/etc/conf.py @@ -0,0 +1,41 @@ +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'] + +# plantuml +extensions.append('sphinxcontrib.plantuml') +plantuml = ['java', '-jar', 'plantuml.jar'] + +# numfig: +number_figures = True +figure_caption_prefix = "Fig." + +source_suffix = '.rst' +master_doc = 'index' +pygments_style = 'sphinx' +html_use_index = False + +pdf_documents = [('index', u'Promise', u'Promise Project', u'OPNFV')] +pdf_fit_mode = "shrink" +pdf_stylesheets = ['sphinx','kerning','a4'] +#latex_domain_indices = False +#latex_use_modindex = False + +latex_elements = { + 'printindex': '', +} + +project = u'Promise: Resource Management' +copyright = u'%s, OPNFV' % datetime.date.today().year +version = u'1.0.0' +release = u'1.0.0' + +# TODO(r-mibu): remove the following line to index.rst +latex_appendices = ['07-schemas'] |