From afeaa2371c346dd286ea45fcc21456e06b79bb1f Mon Sep 17 00:00:00 2001 From: Qyriad Date: Sat, 25 May 2024 12:19:46 -0600 Subject: docs: enable non-default TOC folding Folding by default would prevent things like "Ctrl+F for nix-env" from working trivially, but the user should be able to fold if they want to. Change-Id: I5273272289f0f24e1f040c691580acfe33f66bd4 --- doc/manual/book.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/manual/book.toml b/doc/manual/book.toml index 1030f96bb..27c6c4637 100644 --- a/doc/manual/book.toml +++ b/doc/manual/book.toml @@ -11,6 +11,10 @@ additional-js = ["redirects.js"] # to just submit a Gerrit CL by the web for trivial stuff. edit-url-template = "https://github.com/lix-project/lix/tree/main/doc/manual/{path}" git-repository-url = "https://git.lix.systems/lix-project/lix" +# Folding by default would prevent things like "Ctrl+F for nix-env" from working +# trivially, but the user should be able to fold if they want to. +fold.enable = true +fold.level = 30 # Handles replacing @docroot@ with a path to ./src relative to that markdown file, # {{#include handlebars}}, and the @generated@ syntax used within these. it mostly -- cgit v1.2.3