Add license information to conf.py files
[escalator.git] / docs / design / etc / conf.py
1 # Licensed under the Apache License, Version 2.0 (the "License");
2 # you may not use this file except in compliance with the License.
3 # You may obtain a copy of the License at
4 #
5 #    http://www.apache.org/licenses/LICENSE-2.0
6 #
7 # Unless required by applicable law or agreed to in writing, software
8 # distributed under the License is distributed on an "AS IS" BASIS,
9 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10 # implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 import datetime
15 import sys
16 import os
17
18 try:
19     __import__('imp').find_module('sphinx.ext.numfig')
20     extensions = ['sphinx.ext.numfig']
21 except ImportError:
22     # 'pip install sphinx_numfig'
23     extensions = ['sphinx_numfig']
24
25 # numfig:
26 number_figures = True
27 figure_caption_prefix = "Fig."
28
29 source_suffix = '.rst'
30 master_doc = 'index'
31 pygments_style = 'sphinx'
32 html_use_index = False
33
34 pdf_documents = [('index', u'OPNFV', u'OPNFV Project', u'OPNFV')]
35 pdf_fit_mode = "shrink"
36 pdf_stylesheets = ['sphinx','kerning','a4']
37 #latex_domain_indices = False
38 #latex_use_modindex = False
39
40 latex_elements = {
41     'printindex': '',
42 }
43
44 project = u'OPNFV: Template documentation config'
45 copyright = u'%s, OPNFV' % datetime.date.today().year
46 version = u'1.0.0'
47 release = u'1.0.0'