There are some flake8 errors. Clear them before other work.
[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
16 try:
17     __import__('imp').find_module('sphinx.ext.numfig')
18     extensions = ['sphinx.ext.numfig']
19 except ImportError:
20     # 'pip install sphinx_numfig'
21     extensions = ['sphinx_numfig']
22
23 # numfig:
24 number_figures = True
25 figure_caption_prefix = "Fig."
26
27 source_suffix = '.rst'
28 master_doc = 'index'
29 pygments_style = 'sphinx'
30 html_use_index = False
31
32 pdf_documents = [('index', u'OPNFV', u'OPNFV Project', u'OPNFV')]
33 pdf_fit_mode = "shrink"
34 pdf_stylesheets = ['sphinx', 'kerning', 'a4']
35
36 latex_elements = {
37     'printindex': '',
38 }
39
40 project = u'OPNFV: Template documentation config'
41 copyright = u'%s, OPNFV' % datetime.date.today().year
42 version = u'1.0.0'
43 release = u'1.0.0'