|
35 | 35 | # templates_path = ["_templates"] |
36 | 36 |
|
37 | 37 | # The suffix of source filenames. |
38 | | -source_suffix = {'.rst': 'restructuredtext'} |
| 38 | +source_suffix = {".rst": "restructuredtext"} |
39 | 39 |
|
40 | 40 | # The encoding of source files. |
41 | 41 | # source_encoding = 'utf-8-sig' |
|
127 | 127 | "documentation_font": "Open Sans", |
128 | 128 | "monospace_font": "Ubuntu Mono", |
129 | 129 | "monospace_font_size": "1.1rem", |
130 | | - |
131 | 130 | # "style" can take the following values: "blue", "indigo", "purple", |
132 | 131 | # "pink", "red", "orange", "yellow", "green", "tail", and "default". |
133 | 132 | "style": "blue", |
134 | 133 | "pygments_light_style": "pastie", |
135 | 134 | "pygments_dark_style": "dracula", |
136 | | - |
137 | 135 | # Fonts are customizable (and are not retrieved online). |
138 | 136 | # https://sphinx-nefertiti.readthedocs.io/en/latest/users-guide/customization/fonts.html |
139 | 137 | "logo": "logo_400px.png", |
|
143 | 141 | "repository_url": "https://github.com/prompt-toolkit/python-prompt-toolkit", |
144 | 142 | "repository_name": "python-prompt-toolkit", |
145 | 143 | "current_version": "latest", |
146 | | - "versions": [ |
147 | | - (item, docs_fmt_url.format(release=item)) for item in releases |
148 | | - ], |
| 144 | + "versions": [(item, docs_fmt_url.format(release=item)) for item in releases], |
149 | 145 | "header_links": [ |
150 | | - { |
151 | | - "text": "Getting started", |
152 | | - "link": "pages/getting_started" |
153 | | - }, |
| 146 | + {"text": "Getting started", "link": "pages/getting_started"}, |
154 | 147 | { |
155 | 148 | "text": "Tutorials", |
156 | 149 | "match": "/tutorials/*", |
157 | 150 | "dropdown": ( |
158 | | - { |
159 | | - "text": "Build an SQLite REPL", |
160 | | - "link": "pages/tutorials/repl" |
161 | | - }, |
162 | | - ) |
| 151 | + {"text": "Build an SQLite REPL", "link": "pages/tutorials/repl"}, |
| 152 | + ), |
163 | 153 | }, |
164 | 154 | { |
165 | 155 | "text": "Advanced", |
|
200 | 190 | }, |
201 | 191 | { |
202 | 192 | "text": "The rendering pipeline", |
203 | | - "link": "pages/advanced_topics/rendering_pipeline" |
204 | | - } |
205 | | - ) |
| 193 | + "link": "pages/advanced_topics/rendering_pipeline", |
| 194 | + }, |
| 195 | + ), |
206 | 196 | }, |
207 | 197 | { |
208 | 198 | "text": "Reference", |
|
225 | 215 | { |
226 | 216 | "text": "Issues", |
227 | 217 | "link": "https://github.com/prompt-toolkit/python-prompt-toolkit/issues", |
228 | | - } |
229 | | - ] |
| 218 | + }, |
| 219 | + ], |
230 | 220 | } |
231 | 221 |
|
232 | 222 |
|
|
0 commit comments