summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorblsaws <blsaws@hotmail.com>2015-12-03 09:55:10 -0800
committerblsaws <blsaws@hotmail.com>2015-12-03 09:55:10 -0800
commit48f0a6f5812dbaf3072737867a55609443237758 (patch)
tree8792b1ae458095ed91e68e6d747524893bda97b0 /docs
parent489256c5d1a5989135b9f3f212ffa5c7cdcc6b44 (diff)
Restore conf.py
JIRA: COPPER-1 Change-Id: I7d899f6f5ed7ce977da5a9efe9a9404776d199bc Signed-off-by: blsaws <blsaws@hotmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/design/conf.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/design/conf.py b/docs/design/conf.py
new file mode 100644
index 0000000..6c5794c
--- /dev/null
+++ b/docs/design/conf.py
@@ -0,0 +1,30 @@
+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
+html_theme = 'sphinx_rtd_theme'
+
+pdf_documents = [('index', u'OPNFV', u'OPNFV Copper Project', u'OPNFV')]
+pdf_fit_mode = "shrink"
+pdf_stylesheets = ['sphinx','kerning','a4']
+#latex_domain_indices = False
+#latex_use_modindex = False
+
+latex_elements = {
+ 'printindex': '',
+}