diff options
Diffstat (limited to 'docs/typ/style.typ')
| -rw-r--r-- | docs/typ/style.typ | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/typ/style.typ b/docs/typ/style.typ index 2f777892..bcc732a1 100644 --- a/docs/typ/style.typ +++ b/docs/typ/style.typ @@ -186,7 +186,7 @@ /// Every builtin of either build, written by `zig build builtins-json` /// from the registry and the Help rows (src/builtins_json.zig), a file per /// build: name, leader, also (Help's other shortcuts), arg, scope, setting, -/// choices, doc. Merged here, each with `platforms`: "both", "tui" (the +/// choices, doc, and for a shipped addon's word its addon first. Merged here, each with `platforms`: "both", "tui" (the /// terminal only) or "gui" (the window only). #let builtin-data = { let tui = json("builtins-tui.json") @@ -421,6 +421,7 @@ #heading(depth: 2, raw(b.name)) #label("builtin-" + b.name) #let keys = (if b.leader != none { (key(b.leader),) } else { () }) + b.also.map(shortcut) #if b.platforms != "both" [#emph(if b.platforms == "gui" [window only] else [terminal only]) · ] + #if "addon" in b [#emph[the #raw(b.addon) addon's] · ] #if keys.len() > 0 [#keys.join([, ]) · ] #if b.choices != none [#raw(b.choices.replace(", ", "|")) · ] else if b.arg [takes an argument · ] #prose(b.doc) |
