|
15 | 15 | #
|
16 | 16 | # The full version, including alpha/beta/rc tags.
|
17 | 17 | # The short X.Y version.
|
18 |
| -import os |
19 | 18 | import shutil
|
20 |
| -import sys |
21 | 19 | from textwrap import dedent
|
22 | 20 | from typing import TYPE_CHECKING
|
23 | 21 |
|
|
65 | 63 | # Add any Sphinx extension module names here, as strings. They can be extensions
|
66 | 64 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
67 | 65 | extensions = [
|
68 |
| - "pallets_sphinx_themes", |
69 | 66 | "pygments_pytest",
|
70 | 67 | "sphinx.ext.autodoc",
|
71 | 68 | "sphinx.ext.autosummary",
|
|
140 | 137 | # output. They are ignored by default.
|
141 | 138 | # show_authors = False
|
142 | 139 |
|
143 |
| -# The name of the Pygments (syntax highlighting) style to use. |
144 |
| -pygments_style = "sphinx" |
145 |
| - |
146 |
| - |
147 | 140 | # A list of ignored prefixes for module index sorting.
|
148 | 141 | # modindex_common_prefix = []
|
149 | 142 |
|
|
216 | 209 |
|
217 | 210 | # -- Options for HTML output ---------------------------------------------------
|
218 | 211 |
|
219 |
| -sys.path.append(os.path.abspath("_themes")) |
220 |
| -html_theme_path = ["_themes"] |
221 |
| - |
222 | 212 | # The theme to use for HTML and HTML Help pages. See the documentation for
|
223 | 213 | # a list of builtin themes.
|
224 |
| -html_theme = "flask" |
| 214 | +html_theme = "furo" |
225 | 215 |
|
226 | 216 | # Theme options are theme-specific and customize the look and feel of a theme
|
227 | 217 | # further. For a list of options available for each theme, see the
|
|
266 | 256 |
|
267 | 257 | html_sidebars = {
|
268 | 258 | "index": [
|
269 |
| - "slim_searchbox.html", |
| 259 | + "sidebar/brand.html", |
| 260 | + "sidebar/search.html", |
| 261 | + "sidebar/scroll-start.html", |
270 | 262 | "sidebarintro.html",
|
271 | 263 | "globaltoc.html",
|
272 | 264 | "links.html",
|
273 |
| - "sourcelink.html", |
| 265 | + "sidebar/scroll-end.html", |
| 266 | + "style.html", |
274 | 267 | ],
|
275 | 268 | "**": [
|
276 |
| - "slim_searchbox.html", |
| 269 | + "sidebar/brand.html", |
| 270 | + "sidebar/search.html", |
| 271 | + "sidebar/scroll-start.html", |
277 | 272 | "globaltoc.html",
|
278 | 273 | "relations.html",
|
279 | 274 | "links.html",
|
280 |
| - "sourcelink.html", |
| 275 | + "sidebar/scroll-end.html", |
| 276 | + "style.html", |
281 | 277 | ],
|
282 | 278 | }
|
283 | 279 |
|
|
337 | 333 | )
|
338 | 334 | ]
|
339 | 335 |
|
340 |
| -# The name of an image file (relative to this directory) to place at the top of |
341 |
| -# the title page. |
342 |
| -latex_logo = "img/pytest1.png" |
343 |
| - |
344 | 336 | # For "manual" documents, if this is true, then toplevel headings are parts,
|
345 | 337 | # not chapters.
|
346 | 338 | # latex_use_parts = False
|
|
0 commit comments