Debian Codegraph @

doc/source/conf.py

raw
1 # -- General configuration ----------------------------------------------------
2
3 # Add any Sphinx extension module names here, as strings. They can be
4 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
5 extensions = [
6 'sphinxcontrib.apidoc',
7 'sphinx.ext.viewcode',
8 'openstackdocstheme',
9 'cliff.sphinxext'
10 ]
11
12 # sphinxcontrib.apidoc options
13 apidoc_module_dir = '../../ironic_inspector_client'
14 apidoc_output_dir = 'reference/api'
15 apidoc_excluded_paths = [
16 'tests',
17 'common/i18n*',
18 'shell*'
19 ]
20 apidoc_separate_modules = True
21
22 # openstackdocstheme options
23 openstackdocs_repo_name = 'openstack/python-ironic-inspector-client'
24 openstackdocs_pdf_link = True
25 openstackdocs_use_storyboard = True
26
27 # Add any paths that contain templates here, relative to this directory.
28 templates_path = ['_templates']
29
30 # The suffix of source filenames.
31 source_suffix = '.rst'
32
33 # The master toctree document.
34 master_doc = 'index'
35
36 # General information about the project.
37 copyright = 'OpenStack Foundation'
38
39 # A list of ignored prefixes for module index sorting.
40 modindex_common_prefix = ['ironic_inspector_client']
41
42 # If true, '()' will be appended to :func: etc. cross-reference text.
43 add_function_parentheses = True
44
45 # If true, the current module name will be prepended to all description
46 # unit titles (such as .. function::).
47 add_module_names = True
48
49 # The name of the Pygments (syntax highlighting) style to use.
50 pygments_style = 'native'
51
52 # -- Options for HTML output --------------------------------------------------
53
54 # The theme to use for HTML and HTML Help pages. Major themes that come with
55 # Sphinx are currently 'default' and 'sphinxdoc'.
56 html_theme = 'openstackdocs'
57 #html_theme_path = ["."]
58 #html_theme = '_theme'
59 #html_static_path = ['_static']
60
61 # Output file base name for HTML help builder.
62 htmlhelp_basename = 'python-ironic-inspector-clientdoc'
63
64 latex_use_xindy = False
65
66 # Grouping the document tree into LaTeX files. List of tuples
67 # (source start file, target name, title, author, documentclass
68 # [howto/manual]).
69 latex_documents = [
70 (
71 'index',
72 'doc-python-ironic-inspector-client.tex',
73 'Python Ironic Inspector Client Documentation',
74 'OpenStack Foundation',
75 'manual'
76 ),
77 ]