|
19 | 19 |
|
20 | 20 | # -- Project information ----------------------------------------------------- |
21 | 21 |
|
22 | | -project = 'interface' |
23 | | -copyright = '2018, Scott Sanderson' |
24 | | -author = 'Scott Sanderson' |
| 22 | +project = "interface" |
| 23 | +copyright = "2018, Scott Sanderson" |
| 24 | +author = "Scott Sanderson" |
25 | 25 |
|
26 | 26 | # The short X.Y version |
27 | | -version = '' |
| 27 | +version = "" |
28 | 28 | # The full version, including alpha/beta/rc tags |
29 | | -release = '1.4.0' |
| 29 | +release = "1.4.0" |
30 | 30 |
|
31 | 31 |
|
32 | 32 | # -- General configuration --------------------------------------------------- |
|
39 | 39 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
40 | 40 | # ones. |
41 | 41 | extensions = [ |
42 | | - 'sphinx.ext.autodoc', |
43 | | - 'sphinx.ext.doctest', |
44 | | - 'sphinx.ext.intersphinx', |
45 | | - 'sphinx.ext.todo', |
46 | | - 'sphinx.ext.viewcode', |
47 | | - 'sphinx.ext.napoleon', |
48 | | - 'sphinx.ext.autosummary', |
| 42 | + "sphinx.ext.autodoc", |
| 43 | + "sphinx.ext.doctest", |
| 44 | + "sphinx.ext.intersphinx", |
| 45 | + "sphinx.ext.todo", |
| 46 | + "sphinx.ext.viewcode", |
| 47 | + "sphinx.ext.napoleon", |
| 48 | + "sphinx.ext.autosummary", |
49 | 49 | ] |
50 | 50 |
|
51 | 51 | # Add any paths that contain templates here, relative to this directory. |
52 | | -templates_path = ['_templates'] |
| 52 | +templates_path = ["_templates"] |
53 | 53 |
|
54 | 54 | # The suffix(es) of source filenames. |
55 | 55 | # You can specify multiple suffix as a list of string: |
56 | 56 | # |
57 | 57 | # source_suffix = ['.rst', '.md'] |
58 | | -source_suffix = '.rst' |
| 58 | +source_suffix = ".rst" |
59 | 59 |
|
60 | 60 | # The master toctree document. |
61 | | -master_doc = 'index' |
| 61 | +master_doc = "index" |
62 | 62 |
|
63 | 63 | # The language for content autogenerated by Sphinx. Refer to documentation |
64 | 64 | # for a list of supported languages. |
|
70 | 70 | # List of patterns, relative to source directory, that match files and |
71 | 71 | # directories to ignore when looking for source files. |
72 | 72 | # This pattern also affects html_static_path and html_extra_path . |
73 | | -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 73 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
74 | 74 |
|
75 | 75 | # The name of the Pygments (syntax highlighting) style to use. |
76 | | -pygments_style = 'sphinx' |
| 76 | +pygments_style = "sphinx" |
77 | 77 |
|
78 | 78 |
|
79 | 79 | # -- Options for HTML output ------------------------------------------------- |
80 | 80 |
|
81 | 81 | # The theme to use for HTML and HTML Help pages. See the documentation for |
82 | 82 | # a list of builtin themes. |
83 | 83 | # |
84 | | -html_theme = 'sphinx_rtd_theme' |
| 84 | +html_theme = "sphinx_rtd_theme" |
85 | 85 |
|
86 | 86 | # Theme options are theme-specific and customize the look and feel of a theme |
87 | 87 | # further. For a list of options available for each theme, see the |
|
92 | 92 | # Add any paths that contain custom static files (such as style sheets) here, |
93 | 93 | # relative to this directory. They are copied after the builtin static files, |
94 | 94 | # so a file named "default.css" will overwrite the builtin "default.css". |
95 | | -html_static_path = ['_static'] |
| 95 | +html_static_path = ["_static"] |
96 | 96 |
|
97 | 97 | # Custom sidebar templates, must be a dictionary that maps document names |
98 | 98 | # to template names. |
|
108 | 108 | # -- Options for HTMLHelp output --------------------------------------------- |
109 | 109 |
|
110 | 110 | # Output file base name for HTML help builder. |
111 | | -htmlhelp_basename = 'interfacedoc' |
| 111 | +htmlhelp_basename = "interfacedoc" |
112 | 112 |
|
113 | 113 |
|
114 | 114 | # -- Options for LaTeX output ------------------------------------------------ |
|
117 | 117 | # The paper size ('letterpaper' or 'a4paper'). |
118 | 118 | # |
119 | 119 | # 'papersize': 'letterpaper', |
120 | | - |
121 | 120 | # The font size ('10pt', '11pt' or '12pt'). |
122 | 121 | # |
123 | 122 | # 'pointsize': '10pt', |
124 | | - |
125 | 123 | # Additional stuff for the LaTeX preamble. |
126 | 124 | # |
127 | 125 | # 'preamble': '', |
128 | | - |
129 | 126 | # Latex figure (float) alignment |
130 | 127 | # |
131 | 128 | # 'figure_align': 'htbp', |
|
135 | 132 | # (source start file, target name, title, |
136 | 133 | # author, documentclass [howto, manual, or own class]). |
137 | 134 | latex_documents = [ |
138 | | - (master_doc, 'interface.tex', 'interface Documentation', |
139 | | - 'Scott Sanderson', 'manual'), |
| 135 | + ( |
| 136 | + master_doc, |
| 137 | + "interface.tex", |
| 138 | + "interface Documentation", |
| 139 | + "Scott Sanderson", |
| 140 | + "manual", |
| 141 | + ), |
140 | 142 | ] |
141 | 143 |
|
142 | 144 |
|
143 | 145 | # -- Options for manual page output ------------------------------------------ |
144 | 146 |
|
145 | 147 | # One entry per manual page. List of tuples |
146 | 148 | # (source start file, name, description, authors, manual section). |
147 | | -man_pages = [ |
148 | | - (master_doc, 'interface', 'interface Documentation', |
149 | | - [author], 1) |
150 | | -] |
| 149 | +man_pages = [(master_doc, "interface", "interface Documentation", [author], 1)] |
151 | 150 |
|
152 | 151 |
|
153 | 152 | # -- Options for Texinfo output ---------------------------------------------- |
|
156 | 155 | # (source start file, target name, title, author, |
157 | 156 | # dir menu entry, description, category) |
158 | 157 | texinfo_documents = [ |
159 | | - (master_doc, 'interface', 'interface Documentation', |
160 | | - author, 'interface', 'One line description of project.', |
161 | | - 'Miscellaneous'), |
| 158 | + ( |
| 159 | + master_doc, |
| 160 | + "interface", |
| 161 | + "interface Documentation", |
| 162 | + author, |
| 163 | + "interface", |
| 164 | + "One line description of project.", |
| 165 | + "Miscellaneous", |
| 166 | + ), |
162 | 167 | ] |
163 | 168 |
|
164 | 169 |
|
|
167 | 172 | # -- Options for intersphinx extension --------------------------------------- |
168 | 173 |
|
169 | 174 | # Example configuration for intersphinx: refer to the Python standard library. |
170 | | -intersphinx_mapping = {'https://docs.python.org/': None} |
| 175 | +intersphinx_mapping = {"https://docs.python.org/": None} |
171 | 176 |
|
172 | 177 | # -- Options for todo extension ---------------------------------------------- |
173 | 178 |
|
|
0 commit comments