diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2015-11-27 12:40:35 +0100 |
---|---|---|
committer | Jonas Bjurel <jonas.bjurel@ericsson.com> | 2015-11-29 11:50:58 +0000 |
commit | 0001e14a6555f0c073b332af247c921202cb74a6 (patch) | |
tree | 33dfd14e614f890beda6d5fc1ff3628145fb87b0 /docs/etc/conf.py | |
parent | 4294e875a20fda54e6a4fdf72d5850cd21860f22 (diff) |
Enable new doc generation for fuel
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>
Diffstat (limited to 'docs/etc/conf.py')
-rw-r--r-- | docs/etc/conf.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/etc/conf.py b/docs/etc/conf.py new file mode 100644 index 000000000..006fc7027 --- /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: Fuel' +copyright = u'%s, OPNFV' % datetime.date.today().year +version = u'1.0.0' +release = u'1.0.0' |