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