aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQyriad <qyriad@qyriad.me>2024-05-30 02:45:44 +0000
committerGerrit Code Review <gerrit@lix-systems>2024-05-30 02:45:44 +0000
commit218630a241d71ea5c136f72e1aaaf2299df6a0b1 (patch)
tree7591d39e3a31512bdac9a09c15c8d5a73f99b2bd
parent562ff516ab27b8e98490646dd30ac96e7e2c36bb (diff)
parentafeaa2371c346dd286ea45fcc21456e06b79bb1f (diff)
Merge "docs: enable non-default TOC folding" into main
-rw-r--r--doc/manual/book.toml4
1 files changed, 4 insertions, 0 deletions
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