Source for projectcapsule.dev, the documentation site for Capsule and capsule-proxy.
Built with Hugo and the Docsy theme, pulled in as
a Hugo module. CNCF Netlify deploys main and previews every pull request.
The tooling (Hugo, Go, Node.js, Task, prek, lychee) is provided by Devbox, so there is nothing else to install.
devbox shell
task setup # once: installs Node.js dependencies and the Git hooks
task serve # http://localhost:1313Outside the shell, prefix a task with devbox run, for example devbox run task serve.
task build builds the production site into public/. Run task --list for all tasks.
content/en/docs/reference.md and content/en/docs/proxy/reference.md come from the Capsule
and capsule-proxy CRDs. Edit those upstream, not these files, then regenerate:
task apidocs # both repositories at main, so unreleased CRDs
task apidocs:capsule REF=v0.12.0 # one repository at a specific refPages live under content/en/. A local setup is optional, as Netlify posts a deploy preview on
every pull request. See CONTRIBUTING.md for the pull request workflow and
DEVELOPMENT.md for the tasks, Git hooks and link checker.