How we do things here, one click from where it's done.
Procedures live in a shared drive nobody opens. Put them in Volvel instead, next to the apps and flows they describe, and link them from the screens where people get stuck.
Folders in, a site out.
Fernhill's front-desk handbook is a folder of Markdown pages in the repository: booking, invoices, checking in. Publish the folder and it's a site, with the folders as its navigation.
- It's shared with the front desk's group of end users and nobody else, the same way an app is.
- Each page can ask "Was this page helpful?", and each answer is a row in a table you own, with nothing kept about who gave it.
- Pages are written in the console by a doc writer, or kept in the repository by a developer. Both deploy the same way.
Two definitions publish it.
One says the folder is a site. The other says who may open it. Remove the second, and nobody outside staff can.
- The site is versioned with the rest of the workspace and promoted with it.
- Turn publishing off and on without losing a page.
- A link to a page that isn't there, or a term nobody defines, stops the deploy and names the line.
// The pages under platform/docs/handbook, served to the front desk.
export const handbook = defineApp({
path: "handbook",
title: "Fernhill handbook",
description: "How the front desk books, checks in and bills.",
docs: "handbook",
});
export const frontDeskReadsHandbook = defineBinding({
path: "access/front-desk-handbook",
role: opensApp,
principal: { type: "end_user_group", key: "front-desk" },
resource: handbook,
}); From examples/fernhill.
Where people actually get stuck.
A procedure helps most at the moment someone needs it. So the handbook can turn up there, without anyone going looking.
- Fernhill's booking screen has a Help button that opens the handbook beside it.
- A column's description shows behind an ⓘ on its heading, wherever the table is shown, and pages can quote it.
- A page about a table, a script or a flow is listed on that resource's screen in the console, for the admins who run it.
- A page can add itself to Volvel's own help for a screen, under "From your team", for your house rules about it.
One handbook, three kinds of reader.
A workspace can publish more than one site, each from its own top-level folder, each to its own readers.
| Readers | For example | How it's shared |
|---|---|---|
| Your staff | Fernhill's rota guide and supplies guide | Members of the tenant, or a group of them |
| People who use your apps | The front desk's handbook | A group of end users, signed in to the portal |
| Anyone | How to register, what to bring to a visit | A binding to "anyone", at an address of your own |
Written by the people who know the work.
- A role for writers
- Doc writers draft and deploy pages and the feedback table, and nothing else. No scripts, no flows, no settings.
- An editor with a preview
- The page as readers will see it, beside its source, with problems marked as you type. / inserts a callout, steps or tabs.
- Search as you type
- Results by section, from the pages each reader may open.
- A glossary that keeps itself
- Terms defined on any page, collected A to Z, and explained wherever they're used.
- Diagrams in the page
- A Mermaid block is drawn in the site's own colours, and readers can move and zoom it.
- Feedback you can query
- Every site's answers in one table, so "which pages aren't helping?" is a saved query away.
Related
Write it down where the work happens.
Handbooks and SOPs as sites, in open-source Volvel.