Add dcae-cli and component-json-schemas projects
[dcaegen2/platform/cli.git] / dcae-cli / docs / source / conf.py
1 # ============LICENSE_START=======================================================
2 # org.onap.dcae
3 # ================================================================================
4 # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #      http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
18 #
19 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
20
21 #!/usr/bin/env python3
22 # -*- coding: utf-8 -*-
23 #
24 # dcae_cli documentation build configuration file, created by
25 # sphinx-quickstart on Tue Dec 13 14:16:27 2016.
26 #
27 # This file is execfile()d with the current directory set to its
28 # containing dir.
29 #
30 # Note that not all possible configuration values are present in this
31 # autogenerated file.
32 #
33 # All configuration values have a default; values that are commented out
34 # serve to show the default.
35
36 import sys
37 import os
38
39 #make development dcae_cli package and click extension moduel visible
40 conf_dir = os.path.abspath(os.path.dirname(__file__))
41 proj_root = os.path.abspath(os.path.join(conf_dir, os.path.pardir, os.path.pardir))
42 sys.path.insert(1, conf_dir)
43 sys.path.insert(1, proj_root)
44
45 from dcae_cli import __version__ as dcae_cli_ver
46
47 # If extensions (or modules to document with autodoc) are in another directory,
48 # add these directories to sys.path here. If the directory is relative to the
49 # documentation root, use os.path.abspath to make it absolute, like shown here.
50 #sys.path.insert(0, os.path.abspath('.'))
51
52 # -- General configuration ------------------------------------------------
53
54 # If your documentation needs a minimal Sphinx version, state it here.
55 #needs_sphinx = '1.0'
56
57 # Add any Sphinx extension module names here, as strings. They can be
58 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
59 # ones.
60 extensions = [
61     'sphinx.ext.autodoc',
62     'sphinx.ext.napoleon',
63     'dcaeclidoctools'
64 ]
65
66 # Add any paths that contain templates here, relative to this directory.
67 templates_path = ['_templates']
68
69 # The suffix(es) of source filenames.
70 # You can specify multiple suffix as a list of string:
71 # source_suffix = ['.rst', '.md']
72 source_suffix = '.rst'
73
74 # The encoding of source files.
75 #source_encoding = 'utf-8-sig'
76
77 # The master toctree document.
78 master_doc = 'index'
79
80 # General information about the project.
81 project = 'dcae_cli'
82 copyright = '2016, Paul Triantafyllou'
83 author = 'Paul Triantafyllou'
84
85 # The version info for the project you're documenting, acts as replacement for
86 # |version| and |release|, also used in various other places throughout the
87 # built documents.
88 #
89 # The short X.Y version.
90 version = dcae_cli_ver
91 # The full version, including alpha/beta/rc tags.
92 release = dcae_cli_ver
93
94 # The language for content autogenerated by Sphinx. Refer to documentation
95 # for a list of supported languages.
96 #
97 # This is also used if you do content translation via gettext catalogs.
98 # Usually you set "language" from the command line for these cases.
99 language = None
100
101 # There are two options for replacing |today|: either, you set today to some
102 # non-false value, then it is used:
103 #today = ''
104 # Else, today_fmt is used as the format for a strftime call.
105 #today_fmt = '%B %d, %Y'
106
107 # List of patterns, relative to source directory, that match files and
108 # directories to ignore when looking for source files.
109 # This patterns also effect to html_static_path and html_extra_path
110 exclude_patterns = []
111
112 # The reST default role (used for this markup: `text`) to use for all
113 # documents.
114 #default_role = None
115
116 # If true, '()' will be appended to :func: etc. cross-reference text.
117 #add_function_parentheses = True
118
119 # If true, the current module name will be prepended to all description
120 # unit titles (such as .. function::).
121 #add_module_names = True
122
123 # If true, sectionauthor and moduleauthor directives will be shown in the
124 # output. They are ignored by default.
125 #show_authors = False
126
127 # The name of the Pygments (syntax highlighting) style to use.
128 pygments_style = 'sphinx'
129
130 # A list of ignored prefixes for module index sorting.
131 #modindex_common_prefix = []
132
133 # If true, keep warnings as "system message" paragraphs in the built documents.
134 #keep_warnings = False
135
136 # If true, `todo` and `todoList` produce output, else they produce nothing.
137 todo_include_todos = False
138
139
140 # -- Options for HTML output ----------------------------------------------
141
142 # The theme to use for HTML and HTML Help pages.  See the documentation for
143 # a list of builtin themes.
144 html_theme = 'alabaster'
145
146 # Theme options are theme-specific and customize the look and feel of a theme
147 # further.  For a list of options available for each theme, see the
148 # documentation.
149 #html_theme_options = {}
150
151 # Add any paths that contain custom themes here, relative to this directory.
152 #html_theme_path = []
153
154 # The name for this set of Sphinx documents.
155 # "<project> v<release> documentation" by default.
156 #html_title = 'dcae_cli v0.1.0'
157
158 # A shorter title for the navigation bar.  Default is the same as html_title.
159 #html_short_title = None
160
161 # The name of an image file (relative to this directory) to place at the top
162 # of the sidebar.
163 #html_logo = None
164
165 # The name of an image file (relative to this directory) to use as a favicon of
166 # the docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
167 # pixels large.
168 #html_favicon = None
169
170 # Add any paths that contain custom static files (such as style sheets) here,
171 # relative to this directory. They are copied after the builtin static files,
172 # so a file named "default.css" will overwrite the builtin "default.css".
173 html_static_path = ['_static']
174
175 # Add any extra paths that contain custom files (such as robots.txt or
176 # .htaccess) here, relative to this directory. These files are copied
177 # directly to the root of the documentation.
178 #html_extra_path = []
179
180 # If not None, a 'Last updated on:' timestamp is inserted at every page
181 # bottom, using the given strftime format.
182 # The empty string is equivalent to '%b %d, %Y'.
183 #html_last_updated_fmt = None
184
185 # If true, SmartyPants will be used to convert quotes and dashes to
186 # typographically correct entities.
187 #html_use_smartypants = True
188
189 # Custom sidebar templates, maps document names to template names.
190 #html_sidebars = {}
191
192 # Additional templates that should be rendered to pages, maps page names to
193 # template names.
194 #html_additional_pages = {}
195
196 # If false, no module index is generated.
197 #html_domain_indices = True
198
199 # If false, no index is generated.
200 #html_use_index = True
201
202 # If true, the index is split into individual pages for each letter.
203 #html_split_index = False
204
205 # If true, links to the reST sources are added to the pages.
206 #html_show_sourcelink = True
207
208 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
209 #html_show_sphinx = True
210
211 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
212 #html_show_copyright = True
213
214 # If true, an OpenSearch description file will be output, and all pages will
215 # contain a <link> tag referring to it.  The value of this option must be the
216 # base URL from which the finished HTML is served.
217 #html_use_opensearch = ''
218
219 # This is the file name suffix for HTML files (e.g. ".xhtml").
220 #html_file_suffix = None
221
222 # Language to be used for generating the HTML full-text search index.
223 # Sphinx supports the following languages:
224 #   'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja'
225 #   'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr', 'zh'
226 #html_search_language = 'en'
227
228 # A dictionary with options for the search language support, empty by default.
229 # 'ja' uses this config value.
230 # 'zh' user can custom change `jieba` dictionary path.
231 #html_search_options = {'type': 'default'}
232
233 # The name of a javascript file (relative to the configuration directory) that
234 # implements a search results scorer. If empty, the default will be used.
235 #html_search_scorer = 'scorer.js'
236
237 # Output file base name for HTML help builder.
238 htmlhelp_basename = 'dcae_clidoc'
239
240 # -- Options for LaTeX output ---------------------------------------------
241
242 latex_elements = {
243 # The paper size ('letterpaper' or 'a4paper').
244 #'papersize': 'letterpaper',
245
246 # The font size ('10pt', '11pt' or '12pt').
247 #'pointsize': '10pt',
248
249 # Additional stuff for the LaTeX preamble.
250 #'preamble': '',
251
252 # Latex figure (float) alignment
253 #'figure_align': 'htbp',
254 }
255
256 # Grouping the document tree into LaTeX files. List of tuples
257 # (source start file, target name, title,
258 #  author, documentclass [howto, manual, or own class]).
259 latex_documents = [
260     (master_doc, 'dcae_cli.tex', 'dcae\\_cli Documentation',
261      'Paul Triantafyllou', 'manual'),
262 ]
263
264 # The name of an image file (relative to this directory) to place at the top of
265 # the title page.
266 #latex_logo = None
267
268 # For "manual" documents, if this is true, then toplevel headings are parts,
269 # not chapters.
270 #latex_use_parts = False
271
272 # If true, show page references after internal links.
273 #latex_show_pagerefs = False
274
275 # If true, show URL addresses after external links.
276 #latex_show_urls = False
277
278 # Documents to append as an appendix to all manuals.
279 #latex_appendices = []
280
281 # If false, no module index is generated.
282 #latex_domain_indices = True
283
284
285 # -- Options for manual page output ---------------------------------------
286
287 # One entry per manual page. List of tuples
288 # (source start file, name, description, authors, manual section).
289 man_pages = [
290     (master_doc, 'dcae_cli', 'dcae_cli Documentation',
291      [author], 1)
292 ]
293
294 # If true, show URL addresses after external links.
295 #man_show_urls = False
296
297
298 # -- Options for Texinfo output -------------------------------------------
299
300 # Grouping the document tree into Texinfo files. List of tuples
301 # (source start file, target name, title, author,
302 #  dir menu entry, description, category)
303 texinfo_documents = [
304     (master_doc, 'dcae_cli', 'dcae_cli Documentation',
305      author, 'dcae_cli', 'One line description of project.',
306      'Miscellaneous'),
307 ]
308
309 # Documents to append as an appendix to all manuals.
310 #texinfo_appendices = []
311
312 # If false, no module index is generated.
313 #texinfo_domain_indices = True
314
315 # How to display URL addresses: 'footnote', 'no', or 'inline'.
316 #texinfo_show_urls = 'footnote'
317
318 # If true, do not generate a @detailmenu in the "Top" node's menu.
319 #texinfo_no_detailmenu = False