Help

Help (system/help/help.rio, a system app) reads the help texts a Rinc has: Rinc's docs and Rio's, these pages among them, and any app's own. It starts where it was last, or with the contents: a list of the sets of texts, each by its own table of contents.

Moving about

keys
up, down, Page Up, Page Down, Home, Endscroll
Tab, Shift+Tabpick the next link, or the one before
Enterfollow the picked link: to another text, or a heading in one
Backspace, Esc, Alt+Leftback
Alt+Rightforward
Alt+Upup: to a text's contents, then to all of them
Alt+Home, Ctrl+Oall the contents

With a mouse, a click follows a link, the wheel scrolls, and the right button goes back. With a controller, the d-pad scrolls, LB and RB (or left and right) pick links, A follows the picked link and B goes back; or the left stick moves the pointer, A clicks the link it's on, and the right stick scrolls. Links to web pages show where they go but don't open.

Help remembers the last 32 places it's been, back and forward, and where it was in each, through a restart; and its contents page, made again when an app comes or goes. That's its stash, which the system key with R drops, to start over, finding any help texts changed since.

Help texts

A help text is Markdown: headings, paragraphs, lists, tables, code (in blocks and inline), strong and emphasized text, and links. Rinc finds them in two kinds of place:

  • An app's own, in its help folder: /apps/chord/help/keys.md is the text chord/keys. They come and go with the app, and are edited with it.
  • Those that are no app's, in /help: /help/rinc/spec/apps.md is rinc/spec/apps. Rinc's docs are the set rinc, and Rio's rio.

A Rinc's bundle can carry help texts the same way (the Fruit Jam's carries Rinc's and Rio's docs), and a text in storage takes the place of a bundled one of the same name. A set with a SUMMARY text is listed in the contents by that, as these docs are.

For apps

An app opens help at a text, and a heading in it, by calling it: pc.call("help", "rio/spec/statements#if"). The rest of what help uses is there for any app: see "Help texts", in "Apps and storage", in Rinc's docs.