summaryrefslogtreecommitdiffstats
path: root/etc/conf.py
diff options
context:
space:
mode:
authorCarlos Goncalves <carlos.goncalves@neclab.eu>2015-04-14 14:07:43 +0200
committerCarlos Goncalves <carlos.goncalves@neclab.eu>2015-05-16 20:32:13 +0200
commit5d6d390b05d3087c511d8d83160b71c25e3697c6 (patch)
tree2f8594d1540f21c2a330ecc7987411c8b2ebd547 /etc/conf.py
parenta8bfe8bf29ecedcb4c9348437f8d07f4a2a2f892 (diff)
Doctor requirement deliverable
JIRA: DOCTOR-4 Change-Id: Ie80bfc8deac5822a70c1258b9ee8ffeec2b1c3a6 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Diffstat (limited to 'etc/conf.py')
-rw-r--r--etc/conf.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/etc/conf.py b/etc/conf.py
new file mode 100644
index 00000000..e1303e8a
--- /dev/null
+++ b/etc/conf.py
@@ -0,0 +1,34 @@
+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']
+
+# 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'Doctor', u'Doctor 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'Doctor: Fault Management and Maintenance'
+copyright = u'%s, OPNFV' % datetime.date.today().year
+version = u'1.0.0'
+release = u'1.0.0'