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