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, End | scroll |
| Tab, Shift+Tab | pick the next link, or the one before |
| Enter | follow the picked link: to another text, or a heading in one |
| Backspace, Esc, Alt+Left | back |
| Alt+Right | forward |
| Alt+Up | up: to a text's contents, then to all of them |
| Alt+Home, Ctrl+O | all 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
helpfolder:/apps/chord/help/keys.mdis the textchord/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.mdisrinc/spec/apps. Rinc's docs are the setrinc, and Rio'srio.
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.