diff --git a/ci/generate-docs.py b/ci/generate-docs.py index 4de6959aa..8b479baba 100644 --- a/ci/generate-docs.py +++ b/ci/generate-docs.py @@ -137,6 +137,7 @@ TOC = [ Page("Key Binding", "config/keys.md"), Page("Mouse Binding", "config/mouse.md"), Page("Colors & Appearance", "config/appearance.md"), + GenColorScheme("Color Schemes", "colorschemes"), ], ), Page("Scrollback", "scrollback.md"), @@ -152,7 +153,6 @@ TOC = [ Page("F.A.Q.", "faq.md"), Page("Getting Help", "help.md"), Page("Contributing", "contributing.md"), - GenColorScheme("Color Schemes", "colorschemes"), Page( "Lua Reference", "config/lua/general.md", diff --git a/docs/book.toml b/docs/book.toml index d6bdf6eb4..571608e2f 100644 --- a/docs/book.toml +++ b/docs/book.toml @@ -13,5 +13,9 @@ default-theme = "ayu" preferred-dark-theme = "ayu" git-repository-url = "https://github.com/wez/wezterm" +[output.html.fold] +enable = true +level = 1 + [output.linkcheck] traverse-parent-directories = false