Skip to content

Add static docs site and un-gate build-docs CI#6

Merged
ykstorm merged 3 commits into
mainfrom
feat/docs-site
Jun 15, 2026
Merged

Add static docs site and un-gate build-docs CI#6
ykstorm merged 3 commits into
mainfrom
feat/docs-site

Conversation

@ykstorm

@ykstorm ykstorm commented Jun 15, 2026

Copy link
Copy Markdown
Owner

What

Adds a real static documentation site under docs-site/ and removes the if: false gate from the build-docs job in .github/workflows/ci.yml, so the job now runs on push and PR.

docs-site

A minimal Next.js static-export site:

  • next.config.mjs sets output: 'export', so next build emits docs-site/out/.
  • next pinned to an exact 15.4.x patch; react / react-dom pinned exact. package-lock.json committed so npm ci is reproducible.
  • Plain JS App Router, no TypeScript.

Pages, all sourced from the existing README.md and docs/architecture.md (no fabricated features):

  • Overview — what stackup is, make up, the component table.
  • Getting Started — clone, make up, hosts entries, surfaces, Makefile targets, known limits.
  • Architecture — cluster topology, the app-of-apps tree over six children, observability flow, security posture.
  • GitOps & Canary — how an image-tag commit becomes a canary rollout gated on Prometheus with auto-rollback.

Verified locally: npm ci && npm run build produces docs-site/out/index.html plus a page per route.

CI

build-docs runs npm ci && npm run build in docs-site/, then deploys docs-site/out to gh-pages via peaceiris/actions-gh-pages@v4. On a PR the build validates only; the deploy step runs on push to the default branch.

Scaffold docs-site/ as a Next.js static-export site (output: 'export',
emits out/). Pages: overview, getting started, architecture, and
GitOps + canary, all sourced from the README and docs/architecture.md.

Pin next to an exact 15.4.x patch and commit package-lock.json so
npm ci is reproducible. Remove the if: false gate from the build-docs
job in ci.yml now that docs-site/ exists, and link the site from the
README.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

ykstorm added 2 commits June 15, 2026 19:39
infra/ installs only kube-prometheus-stack (Prometheus, Grafana,
Alertmanager) for observability. Loki, Tempo, and Promtail are never
installed by make up, so the docs site and README over-claimed them as
working. Soften every mention to roadmap framing or remove it:

- architecture: drop bogus Loki child from the app-of-apps list; reduce
  observability table to the real Metrics signal, add a Roadmap note
- home: drop Logs/Traces component rows, add roadmap note
- getting-started: Grafana shows Prometheus metrics; logs/traces roadmap
- README: tagline, components table (logs/traces moved under Roadmap
  heading), surfaces line, mermaid diagram all corrected
The gh-pages deploy 403'd (GITHUB_TOKEN was read-only) and ran on PRs.
Scope contents:write to this job, and gate the deploy step to push-on-main
so PRs build (validate) without publishing.
@ykstorm ykstorm merged commit 390070b into main Jun 15, 2026
4 checks passed
@ykstorm ykstorm deleted the feat/docs-site branch June 15, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant