summaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorJonas Bjurel <jonas.bjurel@ericsson.com>2016-02-24 09:39:42 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-02-24 09:39:42 +0000
commit8a39c629681f34a3161e1dc2da6c6134a0163e9b (patch)
treebe57afeaad62181a0fb87722e7c85c4c64911905 /docs/conf.py
parent1913bc52b493de68e6fdb4b40140311c064a814a (diff)
parent0b92087277d4f030a936f8d58595047c5d47f158 (diff)
Merge "docs: fix figure placement and old format"
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
new file mode 100644
index 000000000..6cd69313d
--- /dev/null
+++ b/docs/conf.py
@@ -0,0 +1,28 @@
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2016 Linux Foundation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+# Copied from releng/docs/etc/conf.py
+extensions = ['sphinxcontrib.httpdomain',
+ 'sphinx.ext.autodoc',
+ 'sphinx.ext.viewcode',
+ 'sphinx.ext.napoleon']
+
+needs_sphinx = '1.3'
+master_doc = 'index'
+pygments_style = 'sphinx'
+
+html_use_index = False
+numfig = True
+html_logo = 'opnfv-logo.png'
+
+latex_domain_indices = False
+latex_logo = 'opnfv-logo.png'
+
+# addtional config
+latex_elements = {'figure_align': 'H'}