You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/options.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,20 @@ You can customize the plugin by setting options in `mkdocs.yml`. For example:
13
13
vega_renderer: svg
14
14
use_data_path: True
15
15
data_path: ""
16
+
integrations:
17
+
mkdocs_material:
18
+
themes_light:
19
+
- default
20
+
themes_dark:
21
+
- slate
16
22
```
17
23
18
24
- `vega_width` (default is `container`). When not specified explicitly in the JSON schema, the `width` to use (see [vegalite customizing size](https://vega.github.io/vega-lite/docs/size.html)). When set to `container` width will be 100%.
19
25
- `vega_theme`(default is `default`). Specify one of the available [vegalite themes](https://vega.github.io/vega-themes/).
20
-
- `vega_theme_dark`(default is `dark`). When using the [mkdocs-material](https://squidfunk.github.io/mkdocs-material) theme with a dark mode, automatically render charts using this theme. Dark mode toggle is also supported. Specify one of the available [vegalite themes](https://vega.github.io/vega-themes/).
26
+
- `vega_theme_dark`(default is `dark`). When using the [mkdocs-material](https://squidfunk.github.io/mkdocs-material) theme with a dark mode or the user's preferred color scheme in the browser or OS is "dark", automatically render charts using this theme. Dark mode toggle is also supported. Specify one of the available [vegalite themes](https://vega.github.io/vega-themes/).
21
27
- `vega_renderer`(default is `svg`). Specify one of the available [vegalite renderers](https://vega.github.io/vega-themes/).
22
28
- `use_data_path`(default is `True`). When `True`, any relative urls used in the JSON schema are relative to the `data_path`. When `False`, relative urls should be relative to the URL of the page.
23
29
- `data_path`(default is `""`). When `use_data_path` is enabled, the base path relative to the `docs/` folder.
30
+
- `integrations.mkdocs_material.themes_light`(default is `[default]`). When using the [mkdocs-material](https://squidfunk.github.io/mkdocs-material) theme, specify the light [color schemes](https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#color-scheme).
31
+
- `integrations.mkdocs_material.themes_dark`(default is `[slate]`). When using the [mkdocs-material](https://squidfunk.github.io/mkdocs-material) theme, specify the dark [color schemes](https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#color-scheme).
0 commit comments