aboutsummaryrefslogtreecommitdiffstats
path: root/docs/etc/conf.py
diff options
context:
space:
mode:
authorWuKong <rebirthmonkey@gmail.com>2015-10-26 10:50:08 +0100
committerWuKong <rebirthmonkey@gmail.com>2015-10-26 10:50:08 +0100
commit4e8acc0529479553826bbffee344f574c7a253fe (patch)
tree225c53c86fbc92c9ee474cb9d325da99a2bed12c /docs/etc/conf.py
parent39fcd6c9c642ccef9f3d99aad6fd9ad2b8831ed4 (diff)
add officel projet docs
Change-Id: I4d3cd5f6806f25b7aa2cdd20415de9fd835a5c5a Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Diffstat (limited to 'docs/etc/conf.py')
-rw-r--r--docs/etc/conf.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/etc/conf.py b/docs/etc/conf.py
new file mode 100644
index 00000000..18deb8b7
--- /dev/null
+++ b/docs/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'OPNFV', u'OPNFV 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'OPNFV: Template documentation config'
+copyright = u'%s, OPNFV' % datetime.date.today().year
+version = u'1.0.0'
+release = u'1.0.0'