Docs nav
Documentation sidebar with sections, collapsible groups, a sliding ember rail indicator, New/Beta badges, a version select and a filter that narrows the tree.
Preview
Docs · v3.2
Offline drafts
Edits made while offline are queued on the device and replayed in order when the connection returns. Each queued edit keeps its author and timestamp, so history stays exact.
const doc = await sync.open("draft")
doc.offline = true
Install
Pro source requires Pebble Pro. Try the full preview above.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| sections | { title; items: (DocsLink | DocsGroup)[] }[] | — | Sections of links { id, label, href, badge? } and groups { id, label, items, defaultOpen? }. |
| value | string | — | Id of the current page: ember rail segment and aria-current. |
| onNavigate | (id: string, event) => void | — | Called when a link is chosen; prevent default for client routing. |
| versions / version / onVersionChange | string[] / string / (v: string) => void | — | Version select above the tree; the first version is marked latest. |
| searchable | boolean | true | Show the filter field that narrows the tree and marks matches. |
| slashShortcut | boolean | true | Bind "/" to focus the filter. |
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.
