diff options
author | Qyriad <qyriad@qyriad.me> | 2024-05-25 12:19:46 -0600 |
---|---|---|
committer | Qyriad <qyriad@qyriad.me> | 2024-05-30 00:23:01 +0000 |
commit | afeaa2371c346dd286ea45fcc21456e06b79bb1f (patch) | |
tree | 9c2c85737d2b60fd5e6a534261db9ed83e091312 /doc/manual/book.toml | |
parent | c71f21da3ac4d95ef9a42a26416ccee71639dbd6 (diff) |
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
Diffstat (limited to 'doc/manual/book.toml')
-rw-r--r-- | doc/manual/book.toml | 4 |
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 |