From 096026a96476d4b434fb9af08ac41648b70950cd Mon Sep 17 00:00:00 2001 From: Klagarge Date: Sat, 10 Oct 2026 22:05:21 +0200 Subject: [PATCH] docs: describe the site menu in README Assisted-by: Delta:zai-glm-5.3 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c087d34..32ebe07 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,10 @@ Sidebar labels come from the page's `#metadata(...)` line, not from the config. `#metadata((title: "Overview", ...))` for its sidebar label. 2. Add a `[[sidebar.section]]` named after the category in `calepin.toml`, listing the index page and its sub-pages. +3. Add a `[[menus.main]]` entry with the category's `index.typ` as `target` + and the category name as `label` (e.g. `Home`, `IT`), so it appears in the + top navigation bar. The `label` is required here because the index page's + metadata title is `Overview`. ## Deployment