From 34ec8be3559aa2c526d52f7baab3d5105b80e2e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20T=C3=A1mara?= Date: Tue, 21 Oct 2025 22:32:01 -0500 Subject: [PATCH] Added more documentation to palette --- content/docs/architecture/palette.smd | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/content/docs/architecture/palette.smd b/content/docs/architecture/palette.smd index a388206..c3da6be 100644 --- a/content/docs/architecture/palette.smd +++ b/content/docs/architecture/palette.smd @@ -5,7 +5,12 @@ .layout = "tutorial.shtml", .draft = false, .custom = { - .githubedit = "/docs/architecture/palette.md" + .githubedit = "docs/architecture/palette.md", + .prevurl = "docs/minimode", + .prevtext = "Mini modes", + .topurl = "docs/architecture", + .toptext = "Architecture", + .codepath ="src/tui/mode/overlay/clipboard_palette.zig", }, --- @@ -98,7 +103,8 @@ ready, it's time to make the palette available as a command. ## Registering the palette Commands that open the palette are defined in `tui.zig` in a similar way as it -is done with [minimodes](/docs/architecture/minimode). +is done with [minimodes](/docs/architecture/minimode). We have got +you covered if in doubt about [how to create a command](/docs/architecture/command). To view a complete implementation of a palette, take a look at [clipboard history palette commit](https://github.com/neurocyte/flow/commit/634a18cb5685a3c3fcfc08301306e628d33c3256)