|
16 | 16 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
17 | 17 | # sys.path.insert(0, os.path.abspath('.')) |
18 | 18 |
|
19 | | -import sphinx_rtd_theme |
20 | | - |
21 | 19 | import PIL |
22 | 20 |
|
23 | 21 | # -- General configuration ------------------------------------------------ |
|
126 | 124 | # The theme to use for HTML and HTML Help pages. See the documentation for |
127 | 125 | # a list of builtin themes. |
128 | 126 |
|
129 | | -html_theme = "sphinx_rtd_theme" |
130 | | -html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
| 127 | +html_theme = "furo" |
131 | 128 |
|
132 | 129 | # Theme options are theme-specific and customize the look and feel of a theme |
133 | 130 | # further. For a list of options available for each theme, see the |
134 | 131 | # documentation. |
135 | | -# html_theme_options = {} |
| 132 | +html_theme_options = { |
| 133 | + "light_logo": "pillow-logo-dark-text.png", |
| 134 | + "dark_logo": "pillow-logo.png", |
| 135 | +} |
136 | 136 |
|
137 | 137 | # Add any paths that contain custom themes here, relative to this directory. |
138 | 138 | # html_theme_path = [] |
|
146 | 146 |
|
147 | 147 | # The name of an image file (relative to this directory) to place at the top |
148 | 148 | # of the sidebar. |
149 | | -html_logo = "resources/pillow-logo.png" |
| 149 | +# html_logo = "resources/pillow-logo.png" |
150 | 150 |
|
151 | 151 | # The name of an image file (within the static path) to use as favicon of the |
152 | 152 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
|
311 | 311 |
|
312 | 312 |
|
313 | 313 | def setup(app): |
314 | | - app.add_js_file("js/script.js") |
315 | | - app.add_css_file("css/styles.css") |
316 | 314 | app.add_css_file("css/dark.css") |
317 | | - app.add_css_file("css/light.css") |
318 | 315 |
|
319 | 316 |
|
320 | 317 | # GitHub repo for sphinx-issues |
|
0 commit comments