-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi team,
I got this issue when migrate theme from sphinx-material
to sphinx-immaterial
. May I know how to fix it?
sphinx-immaterial version
: 0.13.5
Thanks!

Here is my config.
...
html_theme_options = {
'repo_url': 'https://github.com/trinodb/trino',
'repo_name': 'Trino',
'icon': {
'repo': 'fontawesome/brands/github-alt'
},
'version_json': '../versions.json',
'palette': [
{
'media': '(prefers-color-scheme)',
'scheme': 'default',
'toggle': {
'icon': 'material/brightness-auto',
'name': 'Switch to light mode',
}
},
{
'media': '(prefers-color-scheme: light)',
'scheme': 'default',
'toggle': {
'icon': 'material/weather-sunny',
'name': 'Switch to dark mode',
}
},
{
'media': '(prefers-color-scheme: dark)',
'scheme': 'slate',
'toggle': {
'icon': 'material/weather-night',
'name': 'Switch to system preference',
}
},
],
'font': {
'text': 'Roboto',
'code': 'Roboto Mono'
},
'features': [
'navigation.expand',
'navigation.top',
'navigation.path',
'search.highlight',
'search.share',
'toc.follow',
'toc.integrate'
]
}
...
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working