|
22 | 22 | # sys.path.insert(0, os.path.abspath('.')) |
23 | 23 | from pkg_resources import get_distribution |
24 | 24 |
|
25 | | -FULL_VERSION = get_distribution('django-timeline-logger').version |
| 25 | +FULL_VERSION = get_distribution("django-timeline-logger").version |
26 | 26 |
|
27 | 27 | # -- General configuration ------------------------------------------------ |
28 | 28 |
|
|
36 | 36 | extensions = [] |
37 | 37 |
|
38 | 38 | # Add any paths that contain templates here, relative to this directory. |
39 | | -templates_path = ['_templates'] |
| 39 | +templates_path = ["_templates"] |
40 | 40 |
|
41 | 41 | # The suffix(es) of source filenames. |
42 | 42 | # You can specify multiple suffix as a list of string: |
43 | 43 | # |
44 | 44 | # source_suffix = ['.rst', '.md'] |
45 | | -source_suffix = '.rst' |
| 45 | +source_suffix = ".rst" |
46 | 46 |
|
47 | 47 | # The encoding of source files. |
48 | 48 | # |
49 | 49 | # source_encoding = 'utf-8-sig' |
50 | 50 |
|
51 | 51 | # The master toctree document. |
52 | | -master_doc = 'index' |
| 52 | +master_doc = "index" |
53 | 53 |
|
54 | 54 | # General information about the project. |
55 | | -project = 'Django Timeline Logger' |
56 | | -copyright = '2016-2018, Maykin Media' |
57 | | -author = 'Maykin Media' |
| 55 | +project = "Django Timeline Logger" |
| 56 | +copyright = "2016-2018, Maykin Media" |
| 57 | +author = "Maykin Media" |
58 | 58 |
|
59 | 59 | # The version info for the project you're documenting, acts as replacement for |
60 | 60 | # |version| and |release|, also used in various other places throughout the |
|
84 | 84 | # List of patterns, relative to source directory, that match files and |
85 | 85 | # directories to ignore when looking for source files. |
86 | 86 | # This patterns also effect to html_static_path and html_extra_path |
87 | | -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 87 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
88 | 88 |
|
89 | 89 | # The reST default role (used for this markup: `text`) to use for all |
90 | 90 | # documents. |
|
106 | 106 | # show_authors = False |
107 | 107 |
|
108 | 108 | # The name of the Pygments (syntax highlighting) style to use. |
109 | | -pygments_style = 'sphinx' |
| 109 | +pygments_style = "sphinx" |
110 | 110 |
|
111 | 111 | # A list of ignored prefixes for module index sorting. |
112 | 112 | # modindex_common_prefix = [] |
|
123 | 123 | # The theme to use for HTML and HTML Help pages. See the documentation for |
124 | 124 | # a list of builtin themes. |
125 | 125 | # |
126 | | -html_theme = 'sphinx_rtd_theme' |
| 126 | +html_theme = "sphinx_rtd_theme" |
127 | 127 |
|
128 | 128 | # Theme options are theme-specific and customize the look and feel of a theme |
129 | 129 | # further. For a list of options available for each theme, see the |
|
237 | 237 | # html_search_scorer = 'scorer.js' |
238 | 238 |
|
239 | 239 | # Output file base name for HTML help builder. |
240 | | -htmlhelp_basename = 'DjangoTimelineLoggerdoc' |
| 240 | +htmlhelp_basename = "DjangoTimelineLoggerdoc" |
241 | 241 |
|
242 | 242 | # -- Options for LaTeX output --------------------------------------------- |
243 | 243 |
|
244 | 244 | latex_elements = { |
245 | | - # The paper size ('letterpaper' or 'a4paper'). |
246 | | - # |
247 | | - # 'papersize': 'letterpaper', |
248 | | - |
249 | | - # The font size ('10pt', '11pt' or '12pt'). |
250 | | - # |
251 | | - # 'pointsize': '10pt', |
252 | | - |
253 | | - # Additional stuff for the LaTeX preamble. |
254 | | - # |
255 | | - # 'preamble': '', |
256 | | - |
257 | | - # Latex figure (float) alignment |
258 | | - # |
259 | | - # 'figure_align': 'htbp', |
| 245 | + # The paper size ('letterpaper' or 'a4paper'). |
| 246 | + # |
| 247 | + # 'papersize': 'letterpaper', |
| 248 | + # The font size ('10pt', '11pt' or '12pt'). |
| 249 | + # |
| 250 | + # 'pointsize': '10pt', |
| 251 | + # Additional stuff for the LaTeX preamble. |
| 252 | + # |
| 253 | + # 'preamble': '', |
| 254 | + # Latex figure (float) alignment |
| 255 | + # |
| 256 | + # 'figure_align': 'htbp', |
260 | 257 | } |
261 | 258 |
|
262 | 259 | # Grouping the document tree into LaTeX files. List of tuples |
263 | 260 | # (source start file, target name, title, |
264 | 261 | # author, documentclass [howto, manual, or own class]). |
265 | 262 | latex_documents = [ |
266 | | - (master_doc, 'DjangoTimelineLogger.tex', 'Django Timeline Logger Documentation', |
267 | | - 'Maykin Media', 'manual'), |
| 263 | + ( |
| 264 | + master_doc, |
| 265 | + "DjangoTimelineLogger.tex", |
| 266 | + "Django Timeline Logger Documentation", |
| 267 | + "Maykin Media", |
| 268 | + "manual", |
| 269 | + ), |
268 | 270 | ] |
269 | 271 |
|
270 | 272 | # The name of an image file (relative to this directory) to place at the top of |
|
299 | 301 | # One entry per manual page. List of tuples |
300 | 302 | # (source start file, name, description, authors, manual section). |
301 | 303 | man_pages = [ |
302 | | - (master_doc, 'djangotimelinelogger', 'Django Timeline Logger Documentation', |
303 | | - [author], 1) |
| 304 | + ( |
| 305 | + master_doc, |
| 306 | + "djangotimelinelogger", |
| 307 | + "Django Timeline Logger Documentation", |
| 308 | + [author], |
| 309 | + 1, |
| 310 | + ) |
304 | 311 | ] |
305 | 312 |
|
306 | 313 | # If true, show URL addresses after external links. |
|
314 | 321 | # (source start file, target name, title, author, |
315 | 322 | # dir menu entry, description, category) |
316 | 323 | texinfo_documents = [ |
317 | | - (master_doc, 'DjangoTimelineLogger', 'Django Timeline Logger Documentation', |
318 | | - author, 'DjangoTimelineLogger', 'One line description of project.', |
319 | | - 'Miscellaneous'), |
| 324 | + ( |
| 325 | + master_doc, |
| 326 | + "DjangoTimelineLogger", |
| 327 | + "Django Timeline Logger Documentation", |
| 328 | + author, |
| 329 | + "DjangoTimelineLogger", |
| 330 | + "One line description of project.", |
| 331 | + "Miscellaneous", |
| 332 | + ), |
320 | 333 | ] |
321 | 334 |
|
322 | 335 | # Documents to append as an appendix to all manuals. |
|
336 | 349 | # texinfo_no_detailmenu = False |
337 | 350 |
|
338 | 351 | linkcheck_ignore = [ |
339 | | - r'^http://localhost:\d+.*', |
| 352 | + r"^http://localhost:\d+.*", |
340 | 353 | ] |
0 commit comments