Skip to content

feat: Add Build Guides functionality to the kagent oss project site - #775

Closed
AdminTurnedDevOps wants to merge 2 commits into
mainfrom
feat/build-guides-tab
Closed

AdminTurnedDevOps wants to merge 2 commits into
mainfrom
feat/build-guides-tab

Conversation

@AdminTurnedDevOps

Copy link
Copy Markdown
Collaborator

Add Build Guides section to the kagent website.

Summary

  • Adds a "Build Guides" tab to the top nav and a new /build-guides section for hands-on, step-by-step guides.
  • Ships the first guide: Observing and Evaluating Agent Workloads on Kubernetes.

What's included

  • Nav: "Build Guides" link in all three navs (homepage-style header, shared navbar, docs site menu).
  • Pages: an index of guide cards at /build-guides, a page per guide at /build-guides/, and a not-found page for unknown guide URLs.
  • Guide format: a guide is a folder in src/buildGuides/ with a guide.yaml, the guide as Markdown, and optional attachments.md shown after it on the same page.
  • Rendering: GitHub-style alerts (> [!WARNING], > [!NOTE]) draw as callouts; an "On this page" list covers sections and steps and marks the one being read.
  • Docs: "Contributing Build Guides" section in CONTRIBUTION.md, and a note in DEVELOPMENT.md.

Changes to existing behaviour (worth a reviewer's eye)

  • next.config.mjs now compiles .md files as well as .mdx, and runs the alert plugin on all MDX content. No blog post uses that syntax today.
  • package.json: dev, build and build:worker run a new scripts/generate-build-guides.mjs first. Its output, src/lib/build-guides.generated.ts, is gitignored.
  • scripts/sitemap.js lists /build-guides and each published guide.
  • .github/workflows/links.yml treats /build-guides as a marketing page, so the docs link check doesn't flag the new nav link.
  • The blog layout imports its colour palette from a shared file; the values are unchanged.

How it was tested

  • Type-check and lint clean.
  • Production Worker build run in Cloudflare's local runtime: the guide page, callouts, attachments and sitemap all served correctly.
  • Docs nav checked against a local Hugo 0.160.1 build.
  • No horizontal overflow from 390px to 1440px on the new pages and both marketing navs.
  • Verified in Playwright

Notes

  • Merging publishes the guide; it is not marked as a draft.
  • Screenshots of the index page and the guide page.
  • The blog layout was changed only because the color scheme was set in the blogs layout file, but I wanted the Build Guides to be able to use the same colors, so I made the layout file universal.

Signed-off-by: adminturneddevops <mlevan1992@gmail.com>
Signed-off-by: adminturneddevops <mlevan1992@gmail.com>
@AdminTurnedDevOps AdminTurnedDevOps self-assigned this Dec 1, 2026
@AdminTurnedDevOps AdminTurnedDevOps added the enhancement New feature or request label Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Docs preview

Link Points at
Branch preview The newest push to this branch. Updates in place.
Commit preview 35ee53b only. Frozen.

Both are uploaded Worker versions and serve no production traffic.

@sebbycorp sebbycorp closed this Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants