|
18 | 18 | # If extensions (or modules to document with autodoc) are in another directory,
|
19 | 19 | # add these directories to sys.path here. If the directory is relative to the
|
20 | 20 | # documentation root, use os.path.abspath to make it absolute, like shown here.
|
21 |
| -#sys.path.insert(0, os.path.abspath('.')) |
| 21 | +# sys.path.insert(0, os.path.abspath('.')) |
22 | 22 |
|
23 | 23 | # -- General configuration -----------------------------------------------------
|
24 | 24 |
|
25 | 25 | # If your documentation needs a minimal Sphinx version, state it here.
|
26 |
| -#needs_sphinx = '1.0' |
| 26 | +# needs_sphinx = '1.0' |
27 | 27 |
|
28 | 28 | # Add any Sphinx extension module names here, as strings. They can be extensions
|
29 | 29 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
30 |
| -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.ifconfig'] |
| 30 | +extensions = ["sphinx.ext.autodoc", "sphinx.ext.ifconfig"] |
31 | 31 |
|
32 | 32 | # Add any paths that contain templates here, relative to this directory.
|
33 |
| -templates_path = ['_templates'] |
| 33 | +templates_path = ["_templates"] |
34 | 34 |
|
35 | 35 | # The suffix of source filenames.
|
36 |
| -source_suffix = '.rst' |
| 36 | +source_suffix = ".rst" |
37 | 37 |
|
38 | 38 | # The encoding of source files.
|
39 |
| -#source_encoding = 'utf-8-sig' |
| 39 | +# source_encoding = 'utf-8-sig' |
40 | 40 |
|
41 | 41 | # The master toctree document.
|
42 |
| -master_doc = 'index' |
| 42 | +master_doc = "index" |
43 | 43 |
|
44 | 44 | # General information about the project.
|
45 |
| -project = u'Splunk SDK for Python' |
46 |
| -copyright = u'2024, Splunk Inc' |
| 45 | +project = "Splunk SDK for Python" |
| 46 | +copyright = "2024, Splunk Inc" |
47 | 47 |
|
48 | 48 | # The version info for the project you're documenting, acts as replacement for
|
49 | 49 | # |version| and |release|, also used in various other places throughout the
|
|
56 | 56 |
|
57 | 57 | # The language for content autogenerated by Sphinx. Refer to documentation
|
58 | 58 | # for a list of supported languages.
|
59 |
| -#language = None |
| 59 | +# language = None |
60 | 60 |
|
61 | 61 | # There are two options for replacing |today|: either, you set today to some
|
62 | 62 | # non-false value, then it is used:
|
63 |
| -#today = '' |
| 63 | +# today = '' |
64 | 64 | # Else, today_fmt is used as the format for a strftime call.
|
65 |
| -#today_fmt = '%B %d, %Y' |
| 65 | +# today_fmt = '%B %d, %Y' |
66 | 66 |
|
67 | 67 | # List of patterns, relative to source directory, that match files and
|
68 | 68 | # directories to ignore when looking for source files.
|
69 |
| -exclude_patterns = ['_build'] |
| 69 | +exclude_patterns = ["_build"] |
70 | 70 |
|
71 | 71 | # The reST default role (used for this markup: `text`) to use for all documents.
|
72 |
| -#default_role = None |
| 72 | +# default_role = None |
73 | 73 |
|
74 | 74 | # If true, '()' will be appended to :func: etc. cross-reference text.
|
75 |
| -#add_function_parentheses = True |
| 75 | +# add_function_parentheses = True |
76 | 76 |
|
77 | 77 | # If true, the current module name will be prepended to all description
|
78 | 78 | # unit titles (such as .. function::).
|
79 |
| -#add_module_names = True |
| 79 | +# add_module_names = True |
80 | 80 |
|
81 | 81 | # If true, sectionauthor and moduleauthor directives will be shown in the
|
82 | 82 | # output. They are ignored by default.
|
83 |
| -#show_authors = False |
| 83 | +# show_authors = False |
84 | 84 |
|
85 | 85 | # The name of the Pygments (syntax highlighting) style to use.
|
86 |
| -pygments_style = 'sphinx' |
| 86 | +pygments_style = "sphinx" |
87 | 87 |
|
88 | 88 | # A list of ignored prefixes for module index sorting.
|
89 |
| -#modindex_common_prefix = [] |
| 89 | +# modindex_common_prefix = [] |
90 | 90 |
|
91 | 91 |
|
92 | 92 | # -- Options for HTML output ---------------------------------------------------
|
|
95 | 95 | # a list of builtin themes.
|
96 | 96 |
|
97 | 97 | # agogo, default, epub, haiku, nature, pyramid, scrolls, sphinxdoc, traditional
|
98 |
| -html_theme = 'default' |
| 98 | +html_theme = "default" |
99 | 99 |
|
100 | 100 | # Theme options are theme-specific and customize the look and feel of a theme
|
101 | 101 | # further. For a list of options available for each theme, see the
|
102 | 102 | # documentation.
|
103 |
| -#html_theme_options = {} |
| 103 | +# html_theme_options = {} |
104 | 104 |
|
105 | 105 | # Add any paths that contain custom themes here, relative to this directory.
|
106 |
| -#html_theme_path = [] |
| 106 | +# html_theme_path = [] |
107 | 107 |
|
108 | 108 | # The name for this set of Sphinx documents. If None, it defaults to
|
109 | 109 | # "<project> v<release> documentation".
|
110 | 110 | html_title = "Splunk SDK for Python API Reference"
|
111 | 111 |
|
112 | 112 | # A shorter title for the navigation bar. Default is the same as html_title.
|
113 |
| -#html_short_title = "Splunk SDK for Python Reference" |
| 113 | +# html_short_title = "Splunk SDK for Python Reference" |
114 | 114 |
|
115 | 115 | # The name of an image file (relative to this directory) to place at the top
|
116 | 116 | # of the sidebar.
|
117 |
| -#html_logo = None |
| 117 | +# html_logo = None |
118 | 118 |
|
119 | 119 | # The name of an image file (within the static path) to use as favicon of the
|
120 | 120 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
121 | 121 | # pixels large.
|
122 |
| -#html_favicon = None |
| 122 | +# html_favicon = None |
123 | 123 |
|
124 | 124 | # Add any paths that contain custom static files (such as style sheets) here,
|
125 | 125 | # relative to this directory. They are copied after the builtin static files,
|
126 | 126 | # so a file named "default.css" will overwrite the builtin "default.css".
|
127 |
| -html_static_path = ['css'] |
| 127 | +html_static_path = ["css"] |
128 | 128 |
|
129 | 129 |
|
130 | 130 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
131 | 131 | # using the given strftime format.
|
132 |
| -#html_last_updated_fmt = '%b %d, %Y' |
| 132 | +# html_last_updated_fmt = '%b %d, %Y' |
133 | 133 |
|
134 | 134 | # If true, SmartyPants will be used to convert quotes and dashes to
|
135 | 135 | # typographically correct entities.
|
136 |
| -#html_use_smartypants = True |
| 136 | +# html_use_smartypants = True |
137 | 137 |
|
138 | 138 | # Custom sidebar templates, maps document names to template names.
|
139 |
| -#html_sidebars = { |
| 139 | +# html_sidebars = { |
140 | 140 | html_sidebars = {
|
141 |
| - '**': ['globaltoc.html', 'searchbox.html'], |
| 141 | + "**": ["globaltoc.html", "searchbox.html"], |
142 | 142 | }
|
143 | 143 |
|
144 | 144 | # Additional templates that should be rendered to pages, maps page names to
|
145 | 145 | # template names.
|
146 |
| -#html_additional_pages = {} |
| 146 | +# html_additional_pages = {} |
147 | 147 |
|
148 | 148 | # If false, no module index is generated.
|
149 |
| -#html_domain_indices = True |
| 149 | +# html_domain_indices = True |
150 | 150 |
|
151 | 151 | # If false, no index is generated.
|
152 |
| -#html_use_index = True |
| 152 | +# html_use_index = True |
153 | 153 |
|
154 | 154 | # If true, the index is split into individual pages for each letter.
|
155 |
| -#html_split_index = False |
| 155 | +# html_split_index = False |
156 | 156 |
|
157 | 157 | # If true, links to the reST sources are added to the pages.
|
158 |
| -#html_show_sourcelink = True |
| 158 | +# html_show_sourcelink = True |
159 | 159 |
|
160 | 160 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
|
161 |
| -#html_show_sphinx = False |
| 161 | +# html_show_sphinx = False |
162 | 162 |
|
163 | 163 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
|
164 |
| -#html_show_copyright = False |
| 164 | +# html_show_copyright = False |
165 | 165 |
|
166 | 166 | # If true, an OpenSearch description file will be output, and all pages will
|
167 | 167 | # contain a <link> tag referring to it. The value of this option must be the
|
168 | 168 | # base URL from which the finished HTML is served.
|
169 |
| -#html_use_opensearch = '' |
| 169 | +# html_use_opensearch = '' |
170 | 170 |
|
171 | 171 | # This is the file name suffix for HTML files (e.g. ".xhtml").
|
172 |
| -#html_file_suffix = None |
| 172 | +# html_file_suffix = None |
173 | 173 |
|
174 | 174 | # Output file base name for HTML help builder.
|
175 |
| -htmlhelp_basename = 'SplunkPythonSDKdoc' |
| 175 | +htmlhelp_basename = "SplunkPythonSDKdoc" |
176 | 176 |
|
177 | 177 |
|
178 | 178 | # -- Options for LaTeX output --------------------------------------------------
|
179 | 179 |
|
180 | 180 | latex_elements = {
|
181 |
| -# The paper size ('letterpaper' or 'a4paper'). |
182 |
| -#'papersize': 'letterpaper', |
183 |
| - |
184 |
| -# The font size ('10pt', '11pt' or '12pt'). |
185 |
| -#'pointsize': '10pt', |
186 |
| - |
187 |
| -# Additional stuff for the LaTeX preamble. |
188 |
| -#'preamble': '', |
| 181 | + # The paper size ('letterpaper' or 'a4paper'). |
| 182 | + #'papersize': 'letterpaper', |
| 183 | + # The font size ('10pt', '11pt' or '12pt'). |
| 184 | + #'pointsize': '10pt', |
| 185 | + # Additional stuff for the LaTeX preamble. |
| 186 | + #'preamble': '', |
189 | 187 | }
|
190 | 188 |
|
191 | 189 | # Grouping the document tree into LaTeX files. List of tuples
|
192 | 190 | # (source start file, target name, title, author, documentclass [howto/manual]).
|
193 | 191 | latex_documents = [
|
194 |
| - ('index', 'SplunkPythonSDK.tex', u'Splunk SDK for Python Documentation', |
195 |
| - u'Splunk Inc.', 'manual'), |
| 192 | + ( |
| 193 | + "index", |
| 194 | + "SplunkPythonSDK.tex", |
| 195 | + "Splunk SDK for Python Documentation", |
| 196 | + "Splunk Inc.", |
| 197 | + "manual", |
| 198 | + ), |
196 | 199 | ]
|
197 | 200 |
|
198 | 201 | # The name of an image file (relative to this directory) to place at the top of
|
199 | 202 | # the title page.
|
200 |
| -#latex_logo = None |
| 203 | +# latex_logo = None |
201 | 204 |
|
202 | 205 | # For "manual" documents, if this is true, then toplevel headings are parts,
|
203 | 206 | # not chapters.
|
204 |
| -#latex_use_parts = False |
| 207 | +# latex_use_parts = False |
205 | 208 |
|
206 | 209 | # If true, show page references after internal links.
|
207 |
| -#latex_show_pagerefs = False |
| 210 | +# latex_show_pagerefs = False |
208 | 211 |
|
209 | 212 | # If true, show URL addresses after external links.
|
210 |
| -#latex_show_urls = False |
| 213 | +# latex_show_urls = False |
211 | 214 |
|
212 | 215 | # Documents to append as an appendix to all manuals.
|
213 |
| -#latex_appendices = [] |
| 216 | +# latex_appendices = [] |
214 | 217 |
|
215 | 218 | # If false, no module index is generated.
|
216 |
| -#latex_domain_indices = True |
| 219 | +# latex_domain_indices = True |
217 | 220 |
|
218 | 221 |
|
219 | 222 | # -- Options for manual page output --------------------------------------------
|
220 | 223 |
|
221 | 224 | # One entry per manual page. List of tuples
|
222 | 225 | # (source start file, name, description, authors, manual section).
|
223 | 226 | man_pages = [
|
224 |
| - ('index', 'splunkpythonsdk', u'Splunk SDK for Python API Documentation', |
225 |
| - [u'Splunk Inc.'], 1) |
| 227 | + ( |
| 228 | + "index", |
| 229 | + "splunkpythonsdk", |
| 230 | + "Splunk SDK for Python API Documentation", |
| 231 | + ["Splunk Inc."], |
| 232 | + 1, |
| 233 | + ) |
226 | 234 | ]
|
227 | 235 |
|
228 | 236 | # If true, show URL addresses after external links.
|
229 |
| -#man_show_urls = False |
| 237 | +# man_show_urls = False |
230 | 238 |
|
231 | 239 |
|
232 | 240 | # -- Options for Texinfo output ------------------------------------------------
|
|
235 | 243 | # (source start file, target name, title, author,
|
236 | 244 | # dir menu entry, description, category)
|
237 | 245 | texinfo_documents = [
|
238 |
| - ('index', 'SplunkPythonSDK', u'Splunk SDK for Python API Documentation', |
239 |
| - u'Splunk Inc.', 'SplunkPythonSDK', 'API reference for Splunk SDK for Python.', |
240 |
| - 'Miscellaneous'), |
| 246 | + ( |
| 247 | + "index", |
| 248 | + "SplunkPythonSDK", |
| 249 | + "Splunk SDK for Python API Documentation", |
| 250 | + "Splunk Inc.", |
| 251 | + "SplunkPythonSDK", |
| 252 | + "API reference for Splunk SDK for Python.", |
| 253 | + "Miscellaneous", |
| 254 | + ), |
241 | 255 | ]
|
242 | 256 |
|
243 | 257 | # Documents to append as an appendix to all manuals.
|
244 |
| -#texinfo_appendices = [] |
| 258 | +# texinfo_appendices = [] |
245 | 259 |
|
246 | 260 | # If false, no module index is generated.
|
247 |
| -#texinfo_domain_indices = True |
| 261 | +# texinfo_domain_indices = True |
248 | 262 |
|
249 | 263 | # How to display URL addresses: 'footnote', 'no', or 'inline'.
|
250 |
| -#texinfo_show_urls = 'footnote' |
| 264 | +# texinfo_show_urls = 'footnote' |
251 | 265 |
|
252 |
| -autoclass_content = 'both' |
| 266 | +autoclass_content = "both" |
0 commit comments