|
171 | 171 | html_theme = "sphinx_immaterial" |
172 | 172 |
|
173 | 173 | # Theme options are theme-specific and customize the look and feel of a theme |
174 | | -# further. For a list of options available for each theme, see the |
175 | | -# documentation. |
176 | | -# html_theme_options = {"logo_only": True} |
| 174 | +# further. For a list of options available for each theme, see |
| 175 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output |
| 176 | +# and |
| 177 | +# https://sphinx-immaterial.readthedocs.io/en/latest/customization.html#confval-html_theme_options |
| 178 | +html_theme_options = { |
| 179 | + "repo_url": "https://git.iter.org/projects/IMAS/repos/imaspy", |
| 180 | + "repo_name": "IMASPy", |
| 181 | + "icon": { |
| 182 | + "repo": "fontawesome/brands/bitbucket", |
| 183 | + }, |
| 184 | + "features": [ |
| 185 | + # "navigation.expand", |
| 186 | + # "navigation.tabs", |
| 187 | + "navigation.sections", |
| 188 | + "navigation.instant", |
| 189 | + # "header.autohide", |
| 190 | + "navigation.top", |
| 191 | + # "navigation.tracking", |
| 192 | + # "search.highlight", |
| 193 | + # "search.share", |
| 194 | + # "toc.integrate", |
| 195 | + "toc.follow", |
| 196 | + "toc.sticky", |
| 197 | + # "content.tabs.link", |
| 198 | + "announce.dismiss", |
| 199 | + ], |
| 200 | + # "toc_title_is_page_title": True, |
| 201 | + # "globaltoc_collapse": True, |
| 202 | + "palette": [ |
| 203 | + { |
| 204 | + "media": "(prefers-color-scheme: light)", |
| 205 | + "scheme": "default", |
| 206 | + "primary": "indigo", |
| 207 | + "accent": "green", |
| 208 | + "toggle": { |
| 209 | + "icon": "material/lightbulb-outline", |
| 210 | + "name": "Switch to dark mode", |
| 211 | + }, |
| 212 | + }, |
| 213 | + { |
| 214 | + "media": "(prefers-color-scheme: dark)", |
| 215 | + "scheme": "slate", |
| 216 | + "primary": "light-blue", |
| 217 | + "accent": "lime", |
| 218 | + "toggle": { |
| 219 | + "icon": "material/lightbulb", |
| 220 | + "name": "Switch to light mode", |
| 221 | + }, |
| 222 | + }, |
| 223 | + ], |
| 224 | +} |
177 | 225 |
|
178 | 226 | # Add any paths that contain custom themes here, relative to this directory. |
179 | 227 | # html_theme_path = [] |
|
0 commit comments