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