Debian Codegraph @

doc/source/conf.py

raw
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 os
15 import sys
16
17 sys.path.insert(0, os.path.abspath('../..'))
18 # -- General configuration ----------------------------------------------------
19
20 # Add any Sphinx extension module names here, as strings. They can be
21 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
22 extensions = [
23 'sphinx.ext.autodoc',
24 'openstackdocstheme'
25 ]
26
27 # autodoc generation is a bit aggressive and a nuisance when doing heavy
28 # text edit cycles.
29 # execute "export SPHINX_DEBUG=1" in your terminal to disable
30
31 # The suffix of source filenames.
32 source_suffix = '.rst'
33
34 # The master toctree document.
35 master_doc = 'index'
36
37 # General information about the project.
38 project = 'mistral-lib'
39 copyright = '2017, Mistral Contributors'
40
41 # If true, '()' will be appended to :func: etc. cross-reference text.
42 add_function_parentheses = True
43
44 # If true, the current module name will be prepended to all description
45 # unit titles (such as .. function::).
46 add_module_names = True
47
48 # The name of the Pygments (syntax highlighting) style to use.
49 pygments_style = 'native'
50
51 # -- Options for HTML output --------------------------------------------------
52
53 # The theme to use for HTML and HTML Help pages. Major themes that come with
54 # html_theme_path = ["."]
55 html_theme = 'openstackdocs'
56 # html_static_path = ['static']
57
58 # Output file base name for HTML help builder.
59 htmlhelp_basename = '%sdoc' % project
60
61 # Grouping the document tree into LaTeX files. List of tuples
62 # (source start file, target name, title, author, documentclass
63 # [howto/manual]).
64 latex_documents = [
65 ('index',
66 '%s.tex' % project,
67 '%s Documentation' % project,
68 'OpenStack Foundation', 'manual'),
69 ]
70
71 # Example configuration for intersphinx: refer to the Python standard library.
72 #intersphinx_mapping = {'http://docs.python.org/': None}
73
74 # -- Options for openstackdocstheme -------------------------------------------
75 openstackdocs_repo_name = 'openstack/mistral-lib'
76 openstackdocs_auto_name = False
77 openstackdocs_bug_project = 'mistral'
78 openstackdocs_bug_tag = ''