How it works
Three levels, from what a reader needs to see a page:
| Level | Who can see it | Where it lives |
|---|---|---|
| Public docs | Anyone | src/content/docs/ |
| Private docs | Any signed-in reader | src/content/private-docs/ |
| Org docs | Signed-in readers whose session lists that org | src/content/org-docs/<org>/ |
Private and org content is never part of the static build — it renders on
request, behind server middleware, so it can’t leak into search, llms.txt,
the sitemap, or a page’s Markdown twin by omission.
Readers sign in through your product, not this one
Section titled “Readers sign in through your product, not this one”There’s no login form, no password field and no user database here. A reader who opens a private link is redirected to a URL your own product exposes; your product decides who they are, signs a short-lived token saying so, and hands them back. This site only ever checks that token — it never collects credentials itself.
That’s the whole model. Setting it up covers the token and the one endpoint you implement.
Maintained by EkLine