Marketing site, docs hub, and user-facing feature guides for rgctl.
Live: https://rgctl.io/
| Path | Role |
|---|---|
src/ |
Next.js App Router (static export) |
docs/guides/ |
SSOT for feature guides (also published under /docs/guides/) |
docs/videos/ |
Homepage CLI demo + per-guide VHS tapes (docs/videos/README.md) |
docs/videos/agent/ |
Coding-agent question scripts and recording workspace (docs/videos/agent/README.md) |
docs/videos/agent/voiceover/ |
Voiceover scripts and ElevenLabs audio pipeline |
docs/growth/ |
Traffic growth proposal and campaign planning |
AGENTS.md |
End-to-end guide for agents/contributors reproducing the guide videos |
scripts/copy-*.mjs |
Prebuild: assemble content/docs, language catalog, demos |
Non-guide reference docs (Introduction, user-guide, json-api, …), AGENTS.md, and *-ast-coverage.json are pulled at build time from the rgctl product repo via RGCTL_REPO (default: sibling ../rgctl or ../rbuilder).
# From a sibling checkout layout:
# ~/git/rust/rgctl (or rbuilder)
# ~/git/rust/rgctl-website
pnpm install
cp .env.example .env.local # optional Umami website ID
pnpm devOverride the product repo path:
RGCTL_REPO=/path/to/rgctl pnpm buildpnpm build # → ./out (apex https://rgctl.io)GitHub Actions: .github/workflows/website.yml (Pages → https://rgctl.io/).
rgctl.io uses Umami cookieless analytics — no analytics cookies, no consent banner, and no cross-site tracking.
Set the website ID locally or in the GitHub Actions secret:
NEXT_PUBLIC_UMAMI_WEBSITE_ID=ebbf1b29-17ac-41b2-aef9-d160b899b38fOptional overrides:
NEXT_PUBLIC_UMAMI_SRC=https://analytics.example.com/script.js # self-hosted
NEXT_PUBLIC_UMAMI_DOMAINS=rgctl.io # restrict trackingThe script is not emitted when the website ID is unset, so the site builds and runs without analytics if the secret is missing.
Edit markdown under docs/guides/ in this repository. Links from the product repo (rgctl/rgctl) should point at https://rgctl.io/docs/guides/… rather than in-tree paths.