Enable new doc generation for fuel 93/3693/4
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Fri, 27 Nov 2015 11:40:35 +0000 (12:40 +0100)
committerJonas Bjurel <jonas.bjurel@ericsson.com>
Sun, 29 Nov 2015 11:50:58 +0000 (11:50 +0000)
The work to unify the doc generation for all OPNFV projects is currently
ongoing. This change adjusts docs directory structure for fuel project.

Trigger the fuel-verify build without cache.
verify: no-cache

Change-Id: Ie430b662c5b50d38efe0c8a1eb50aa8f01c85e85
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
docs/.DS_Store [deleted file]
docs/build-instructions.rst [moved from docs/src/build-instructions.rst with 100% similarity]
docs/etc/conf.py [new file with mode: 0644]
docs/etc/opnfv-logo.png [new file with mode: 0644]
docs/index.rst [new file with mode: 0644]
docs/installation-instructions.rst [moved from docs/src/installation-instructions.rst with 100% similarity]
docs/release-notes.rst [moved from docs/src/release-notes.rst with 100% similarity]

diff --git a/docs/.DS_Store b/docs/.DS_Store
deleted file mode 100644 (file)
index 9a874b5..0000000
Binary files a/docs/.DS_Store and /dev/null differ
diff --git a/docs/etc/conf.py b/docs/etc/conf.py
new file mode 100644 (file)
index 0000000..006fc70
--- /dev/null
@@ -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: Fuel'
+copyright = u'%s, OPNFV' % datetime.date.today().year
+version = u'1.0.0'
+release = u'1.0.0'
diff --git a/docs/etc/opnfv-logo.png b/docs/etc/opnfv-logo.png
new file mode 100644 (file)
index 0000000..1519503
Binary files /dev/null and b/docs/etc/opnfv-logo.png differ
diff --git a/docs/index.rst b/docs/index.rst
new file mode 100644 (file)
index 0000000..40e68b7
--- /dev/null
@@ -0,0 +1,29 @@
+.. OPNFV Release Engineering documentation, created by
+   sphinx-quickstart on Tue Jun  9 19:12:31 2015.
+   You can adapt this file completely to your liking, but it should at least
+   contain the root `toctree` directive.
+
+.. image:: etc/opnfv-logo.png
+  :height: 40
+  :width: 200
+  :alt: OPNFV
+  :align: left
+
+Fuel@OPNFV
+=======================================
+
+Contents:
+
+.. toctree::
+   :maxdepth: 4
+   :titlesonly:
+
+   build-instructions.rst
+   installation-instructions.rst
+   release-notes.rst
+
+* :ref:`search`
+
+Revision: _sha1_
+
+Build date: |today|