docs: host the docs at green-tea.expressive-tea.io/docs

The site hangs off the expressive-tea.io cPanel as green-tea.expressive-tea.io.
A four-level docs.green-tea.expressive-tea.io subdomain reads badly and would
need its own AutoSSL cert (the *.expressive-tea.io wildcard stops one level
up). A /docs subfolder needs no extra host, DNS, or cert — it's a path — and
is what most projects do.

So the docs site now builds with base: '/docs' (its dist/ contents drop into
the subdomain's docs/ folder in cPanel), the 77 hard-coded content links are
prefixed, and the two hero actions Starlight doesn't rewrite are fixed by
hand. Verified: /docs/ serves, / 404s, no unprefixed internal href remains.
README points at the new docs URL.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-07-17 10:13:10 -05:00
1 parent c12be9a2f5
commit 489aa685bb
23 files changed
+78 -77

No files matched your search

+4 -4
View File
@@ -60,7 +60,7 @@ Any runtime can build a `WsSocket` capability (`inbound`, `abort`, `isOpen`, `se
same primitive (see below).
**Still Node-only:** `app.listen()`, TLS and per-request timeouts. On Deno you get
`app.fetch` + `serveDeno`. [Mesh](/guides/mesh/) works here: the control channel is
`app.fetch` + `serveDeno`. [Mesh](/docs/guides/mesh/) works here: the control channel is
served through `app.upgrade` and the teacup connects with Deno's global `WebSocket`.
## WebSocket on Bun
@@ -83,7 +83,7 @@ serveBun(app, { port: 8000 });
run on Node and Deno. Behaviour matches the Node reference.
**Still Node-only:** `app.listen()`, TLS and per-request timeouts. On Bun you get
`app.fetch` + `serveBun`. [Mesh](/guides/mesh/) works here too.
`app.fetch` + `serveBun`. [Mesh](/docs/guides/mesh/) works here too.
## Cloudflare Workers / edge
@@ -115,7 +115,7 @@ compatibility_date = "2024-09-23" # or later
Green Tea's core statically imports Node built-ins that workerd only provides under
this flag; without it, the Worker fails to load.
**Still Node-only:** `app.listen()`, TLS and per-request timeouts. [Mesh](/guides/mesh/)
**Still Node-only:** `app.listen()`, TLS and per-request timeouts. [Mesh](/docs/guides/mesh/)
is **not** supported on edge: the teapot's secret comparison needs `node:crypto`'s
`timingSafeEqual`, which `nodejs_compat` does not provide. Cloudflare's
Durable Objects and WebSocket Hibernation are **not** used — `edgeHandler` accepts
@@ -124,7 +124,7 @@ open for its lifetime rather than hibernating between messages.
## Filesystem features — Node/Deno/Bun only
A few [HTML & views](/guides/html/) features read from disk, so they need a runtime with
A few [HTML & views](/docs/guides/html/) features read from disk, so they need a runtime with
a filesystem:
- `@Html('file.html')` — reads and caches the file at boot.