|
14 | 14 | #
|
15 | 15 | import os
|
16 | 16 | import sys
|
17 |
| -sys.path.insert(0, os.path.abspath('..')) |
| 17 | + |
| 18 | +sys.path.insert(0, os.path.abspath("..")) |
18 | 19 |
|
19 | 20 |
|
20 | 21 | # -- Project information -----------------------------------------------------
|
21 | 22 |
|
22 |
| -project = 'jsonseq' |
23 |
| -copyright = '2018, Sean Gillies' |
24 |
| -author = 'Sean Gillies' |
| 23 | +project = "jsonseq" |
| 24 | +copyright = "2018, Sean Gillies" |
| 25 | +author = "Sean Gillies" |
25 | 26 |
|
26 | 27 | # The short X.Y version
|
27 |
| -version = '' |
| 28 | +version = "" |
28 | 29 | # The full version, including alpha/beta/rc tags
|
29 |
| -release = '1.0a1' |
| 30 | +release = "1.0a1" |
30 | 31 |
|
31 | 32 |
|
32 | 33 | # -- General configuration ---------------------------------------------------
|
|
39 | 40 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
40 | 41 | # ones.
|
41 | 42 | extensions = [
|
42 |
| - 'sphinx.ext.autodoc', |
43 |
| - 'sphinx.ext.autosummary', |
44 |
| - 'sphinx.ext.viewcode', |
45 |
| - 'numpydoc', |
| 43 | + "sphinx.ext.autodoc", |
| 44 | + "sphinx.ext.autosummary", |
| 45 | + "sphinx.ext.viewcode", |
| 46 | + "numpydoc", |
46 | 47 | ]
|
47 | 48 |
|
48 | 49 | # Add any paths that contain templates here, relative to this directory.
|
49 |
| -templates_path = ['_templates'] |
| 50 | +templates_path = ["_templates"] |
50 | 51 |
|
51 | 52 | # The suffix(es) of source filenames.
|
52 | 53 | # You can specify multiple suffix as a list of string:
|
53 | 54 | #
|
54 | 55 | # source_suffix = ['.rst', '.md']
|
55 |
| -source_suffix = '.rst' |
| 56 | +source_suffix = ".rst" |
56 | 57 |
|
57 | 58 | # The master toctree document.
|
58 |
| -master_doc = 'index' |
| 59 | +master_doc = "index" |
59 | 60 |
|
60 | 61 | # The language for content autogenerated by Sphinx. Refer to documentation
|
61 | 62 | # for a list of supported languages.
|
|
67 | 68 | # List of patterns, relative to source directory, that match files and
|
68 | 69 | # directories to ignore when looking for source files.
|
69 | 70 | # This pattern also affects html_static_path and html_extra_path.
|
70 |
| -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 71 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
71 | 72 |
|
72 | 73 | # The name of the Pygments (syntax highlighting) style to use.
|
73 | 74 | pygments_style = None
|
|
78 | 79 | # The theme to use for HTML and HTML Help pages. See the documentation for
|
79 | 80 | # a list of builtin themes.
|
80 | 81 | #
|
81 |
| -html_theme = 'alabaster' |
| 82 | +html_theme = "alabaster" |
82 | 83 |
|
83 | 84 | # Theme options are theme-specific and customize the look and feel of a theme
|
84 | 85 | # further. For a list of options available for each theme, see the
|
|
89 | 90 | # Add any paths that contain custom static files (such as style sheets) here,
|
90 | 91 | # relative to this directory. They are copied after the builtin static files,
|
91 | 92 | # so a file named "default.css" will overwrite the builtin "default.css".
|
92 |
| -html_static_path = ['_static'] |
| 93 | +html_static_path = ["_static"] |
93 | 94 |
|
94 | 95 | # Custom sidebar templates, must be a dictionary that maps document names
|
95 | 96 | # to template names.
|
|
105 | 106 | # -- Options for HTMLHelp output ---------------------------------------------
|
106 | 107 |
|
107 | 108 | # Output file base name for HTML help builder.
|
108 |
| -htmlhelp_basename = 'jsonseqdoc' |
| 109 | +htmlhelp_basename = "jsonseqdoc" |
109 | 110 |
|
110 | 111 |
|
111 | 112 | # -- Options for LaTeX output ------------------------------------------------
|
|
114 | 115 | # The paper size ('letterpaper' or 'a4paper').
|
115 | 116 | #
|
116 | 117 | # 'papersize': 'letterpaper',
|
117 |
| - |
118 | 118 | # The font size ('10pt', '11pt' or '12pt').
|
119 | 119 | #
|
120 | 120 | # 'pointsize': '10pt',
|
121 |
| - |
122 | 121 | # Additional stuff for the LaTeX preamble.
|
123 | 122 | #
|
124 | 123 | # 'preamble': '',
|
125 |
| - |
126 | 124 | # Latex figure (float) alignment
|
127 | 125 | #
|
128 | 126 | # 'figure_align': 'htbp',
|
|
132 | 130 | # (source start file, target name, title,
|
133 | 131 | # author, documentclass [howto, manual, or own class]).
|
134 | 132 | latex_documents = [
|
135 |
| - (master_doc, 'jsonseq.tex', 'jsonseq Documentation', |
136 |
| - 'Sean Gillies', 'manual'), |
| 133 | + (master_doc, "jsonseq.tex", "jsonseq Documentation", "Sean Gillies", "manual") |
137 | 134 | ]
|
138 | 135 |
|
139 | 136 |
|
140 | 137 | # -- Options for manual page output ------------------------------------------
|
141 | 138 |
|
142 | 139 | # One entry per manual page. List of tuples
|
143 | 140 | # (source start file, name, description, authors, manual section).
|
144 |
| -man_pages = [ |
145 |
| - (master_doc, 'jsonseq', 'jsonseq Documentation', |
146 |
| - [author], 1) |
147 |
| -] |
| 141 | +man_pages = [(master_doc, "jsonseq", "jsonseq Documentation", [author], 1)] |
148 | 142 |
|
149 | 143 |
|
150 | 144 | # -- Options for Texinfo output ----------------------------------------------
|
|
153 | 147 | # (source start file, target name, title, author,
|
154 | 148 | # dir menu entry, description, category)
|
155 | 149 | texinfo_documents = [
|
156 |
| - (master_doc, 'jsonseq', 'jsonseq Documentation', |
157 |
| - author, 'jsonseq', 'One line description of project.', |
158 |
| - 'Miscellaneous'), |
| 150 | + ( |
| 151 | + master_doc, |
| 152 | + "jsonseq", |
| 153 | + "jsonseq Documentation", |
| 154 | + author, |
| 155 | + "jsonseq", |
| 156 | + "One line description of project.", |
| 157 | + "Miscellaneous", |
| 158 | + ) |
159 | 159 | ]
|
160 | 160 |
|
161 | 161 |
|
|
174 | 174 | # epub_uid = ''
|
175 | 175 |
|
176 | 176 | # A list of files that should not be packed into the epub file.
|
177 |
| -epub_exclude_files = ['search.html'] |
| 177 | +epub_exclude_files = ["search.html"] |
178 | 178 |
|
179 | 179 |
|
180 | 180 | # -- Extension configuration -------------------------------------------------
|
0 commit comments