Skip to content

Commit 99168f6

Browse files
authored
Merge pull request #632 from splunk/dev/MP/format-repo
Format entire repo
2 parents b39b9d5 + 3795fee commit 99168f6

File tree

83 files changed

+4523
-3145
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+4523
-3145
lines changed

docs/conf.py

Lines changed: 80 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,32 @@
1818
# If extensions (or modules to document with autodoc) are in another directory,
1919
# add these directories to sys.path here. If the directory is relative to the
2020
# 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('.'))
2222

2323
# -- General configuration -----------------------------------------------------
2424

2525
# If your documentation needs a minimal Sphinx version, state it here.
26-
#needs_sphinx = '1.0'
26+
# needs_sphinx = '1.0'
2727

2828
# Add any Sphinx extension module names here, as strings. They can be extensions
2929
# 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"]
3131

3232
# Add any paths that contain templates here, relative to this directory.
33-
templates_path = ['_templates']
33+
templates_path = ["_templates"]
3434

3535
# The suffix of source filenames.
36-
source_suffix = '.rst'
36+
source_suffix = ".rst"
3737

3838
# The encoding of source files.
39-
#source_encoding = 'utf-8-sig'
39+
# source_encoding = 'utf-8-sig'
4040

4141
# The master toctree document.
42-
master_doc = 'index'
42+
master_doc = "index"
4343

4444
# 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"
4747

4848
# The version info for the project you're documenting, acts as replacement for
4949
# |version| and |release|, also used in various other places throughout the
@@ -56,37 +56,37 @@
5656

5757
# The language for content autogenerated by Sphinx. Refer to documentation
5858
# for a list of supported languages.
59-
#language = None
59+
# language = None
6060

6161
# There are two options for replacing |today|: either, you set today to some
6262
# non-false value, then it is used:
63-
#today = ''
63+
# today = ''
6464
# Else, today_fmt is used as the format for a strftime call.
65-
#today_fmt = '%B %d, %Y'
65+
# today_fmt = '%B %d, %Y'
6666

6767
# List of patterns, relative to source directory, that match files and
6868
# directories to ignore when looking for source files.
69-
exclude_patterns = ['_build']
69+
exclude_patterns = ["_build"]
7070

7171
# The reST default role (used for this markup: `text`) to use for all documents.
72-
#default_role = None
72+
# default_role = None
7373

7474
# If true, '()' will be appended to :func: etc. cross-reference text.
75-
#add_function_parentheses = True
75+
# add_function_parentheses = True
7676

7777
# If true, the current module name will be prepended to all description
7878
# unit titles (such as .. function::).
79-
#add_module_names = True
79+
# add_module_names = True
8080

8181
# If true, sectionauthor and moduleauthor directives will be shown in the
8282
# output. They are ignored by default.
83-
#show_authors = False
83+
# show_authors = False
8484

8585
# The name of the Pygments (syntax highlighting) style to use.
86-
pygments_style = 'sphinx'
86+
pygments_style = "sphinx"
8787

8888
# A list of ignored prefixes for module index sorting.
89-
#modindex_common_prefix = []
89+
# modindex_common_prefix = []
9090

9191

9292
# -- Options for HTML output ---------------------------------------------------
@@ -95,138 +95,146 @@
9595
# a list of builtin themes.
9696

9797
# agogo, default, epub, haiku, nature, pyramid, scrolls, sphinxdoc, traditional
98-
html_theme = 'default'
98+
html_theme = "default"
9999

100100
# Theme options are theme-specific and customize the look and feel of a theme
101101
# further. For a list of options available for each theme, see the
102102
# documentation.
103-
#html_theme_options = {}
103+
# html_theme_options = {}
104104

105105
# Add any paths that contain custom themes here, relative to this directory.
106-
#html_theme_path = []
106+
# html_theme_path = []
107107

108108
# The name for this set of Sphinx documents. If None, it defaults to
109109
# "<project> v<release> documentation".
110110
html_title = "Splunk SDK for Python API Reference"
111111

112112
# 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"
114114

115115
# The name of an image file (relative to this directory) to place at the top
116116
# of the sidebar.
117-
#html_logo = None
117+
# html_logo = None
118118

119119
# The name of an image file (within the static path) to use as favicon of the
120120
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
121121
# pixels large.
122-
#html_favicon = None
122+
# html_favicon = None
123123

124124
# Add any paths that contain custom static files (such as style sheets) here,
125125
# relative to this directory. They are copied after the builtin static files,
126126
# so a file named "default.css" will overwrite the builtin "default.css".
127-
html_static_path = ['css']
127+
html_static_path = ["css"]
128128

129129

130130
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
131131
# using the given strftime format.
132-
#html_last_updated_fmt = '%b %d, %Y'
132+
# html_last_updated_fmt = '%b %d, %Y'
133133

134134
# If true, SmartyPants will be used to convert quotes and dashes to
135135
# typographically correct entities.
136-
#html_use_smartypants = True
136+
# html_use_smartypants = True
137137

138138
# Custom sidebar templates, maps document names to template names.
139-
#html_sidebars = {
139+
# html_sidebars = {
140140
html_sidebars = {
141-
'**': ['globaltoc.html', 'searchbox.html'],
141+
"**": ["globaltoc.html", "searchbox.html"],
142142
}
143143

144144
# Additional templates that should be rendered to pages, maps page names to
145145
# template names.
146-
#html_additional_pages = {}
146+
# html_additional_pages = {}
147147

148148
# If false, no module index is generated.
149-
#html_domain_indices = True
149+
# html_domain_indices = True
150150

151151
# If false, no index is generated.
152-
#html_use_index = True
152+
# html_use_index = True
153153

154154
# If true, the index is split into individual pages for each letter.
155-
#html_split_index = False
155+
# html_split_index = False
156156

157157
# If true, links to the reST sources are added to the pages.
158-
#html_show_sourcelink = True
158+
# html_show_sourcelink = True
159159

160160
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
161-
#html_show_sphinx = False
161+
# html_show_sphinx = False
162162

163163
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
164-
#html_show_copyright = False
164+
# html_show_copyright = False
165165

166166
# If true, an OpenSearch description file will be output, and all pages will
167167
# contain a <link> tag referring to it. The value of this option must be the
168168
# base URL from which the finished HTML is served.
169-
#html_use_opensearch = ''
169+
# html_use_opensearch = ''
170170

171171
# This is the file name suffix for HTML files (e.g. ".xhtml").
172-
#html_file_suffix = None
172+
# html_file_suffix = None
173173

174174
# Output file base name for HTML help builder.
175-
htmlhelp_basename = 'SplunkPythonSDKdoc'
175+
htmlhelp_basename = "SplunkPythonSDKdoc"
176176

177177

178178
# -- Options for LaTeX output --------------------------------------------------
179179

180180
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': '',
189187
}
190188

191189
# Grouping the document tree into LaTeX files. List of tuples
192190
# (source start file, target name, title, author, documentclass [howto/manual]).
193191
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+
),
196199
]
197200

198201
# The name of an image file (relative to this directory) to place at the top of
199202
# the title page.
200-
#latex_logo = None
203+
# latex_logo = None
201204

202205
# For "manual" documents, if this is true, then toplevel headings are parts,
203206
# not chapters.
204-
#latex_use_parts = False
207+
# latex_use_parts = False
205208

206209
# If true, show page references after internal links.
207-
#latex_show_pagerefs = False
210+
# latex_show_pagerefs = False
208211

209212
# If true, show URL addresses after external links.
210-
#latex_show_urls = False
213+
# latex_show_urls = False
211214

212215
# Documents to append as an appendix to all manuals.
213-
#latex_appendices = []
216+
# latex_appendices = []
214217

215218
# If false, no module index is generated.
216-
#latex_domain_indices = True
219+
# latex_domain_indices = True
217220

218221

219222
# -- Options for manual page output --------------------------------------------
220223

221224
# One entry per manual page. List of tuples
222225
# (source start file, name, description, authors, manual section).
223226
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+
)
226234
]
227235

228236
# If true, show URL addresses after external links.
229-
#man_show_urls = False
237+
# man_show_urls = False
230238

231239

232240
# -- Options for Texinfo output ------------------------------------------------
@@ -235,18 +243,24 @@
235243
# (source start file, target name, title, author,
236244
# dir menu entry, description, category)
237245
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+
),
241255
]
242256

243257
# Documents to append as an appendix to all manuals.
244-
#texinfo_appendices = []
258+
# texinfo_appendices = []
245259

246260
# If false, no module index is generated.
247-
#texinfo_domain_indices = True
261+
# texinfo_domain_indices = True
248262

249263
# How to display URL addresses: 'footnote', 'no', or 'inline'.
250-
#texinfo_show_urls = 'footnote'
264+
# texinfo_show_urls = 'footnote'
251265

252-
autoclass_content = 'both'
266+
autoclass_content = "both"

0 commit comments

Comments
 (0)