Skip to content

Add "Building a software pack" docs site and portal convention#15

Merged
dcmcand merged 5 commits into
mainfrom
docs-portal
Jun 24, 2026
Merged

Add "Building a software pack" docs site and portal convention#15
dcmcand merged 5 commits into
mainfrom
docs-portal

Conversation

@dcmcand

@dcmcand dcmcand commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Gives the template its own docs site and documents how packs join the new packs.nebari.dev portal.

What's here

  • "Building a software pack" guide: a Hugo site at docs/site/ (using nebari-hugo-theme, mirroring the llm-serving-pack setup), authored from the template's existing docs/ markdown (NebariApp CRD reference, auth flow, release-readiness) plus a short concepts intro. Served at packs.nebari.dev/building-a-software-pack/.
  • Docs-deploy workflow (.github/workflows/docs.yml): same Cloudflare Pages + per-PR preview pattern packs use. Here the slug (building-a-software-pack) intentionally differs from the CF project name (nebari-software-pack-template); the friendly slug is wired into the dashboard's extra-routes.
  • README section documenting the convention: set docs_site: true, slug == repo short name == CF project name (for tracked packs), how previews work, and a pointer to the dashboard's metadata schema.

This dogfoods the same deploy pattern downstream packs copy. The workflow uses the secure untrusted-input handling (branch refs passed through env:, never inline in shell), and skips deploy on fork PRs while still building.

Notes

  • Needs the org-level CLOUDFLARE_* secrets (set) and the nebari-software-pack-template CF Pages project (created).
  • The route only resolves once the dashboard's extra-routes entry is live (see the software-pack-dashboard portal PR).
  • actionlint clean; Hugo build verified locally.

@github-actions

Copy link
Copy Markdown

📄 Docs preview for docs-portal:
https://docs-portal.nebari-software-pack-template.pages.dev

dcmcand added 2 commits June 24, 2026 14:01
Replace the agent-synthesized intro and concepts with content authored
faithfully from nebari.dev/docs/explanations/software-packs and
nebari.dev/docs/software-packs/build-your-own.

- Add what-is-a-software-pack.md: definition, why packs exist, pack
  contents, the NebariApp resource, pack lifecycle, official vs community
- Add build-your-own.md: template quickstart, ArgoCD deployment, private
  and organizational packs
- Rewrite _index.md to frame the guide and link to both new pages
- Update hugo.toml sidebar: explanation first, build guide next, then
  existing reference pages; remove orphaned Concepts entry
@dcmcand dcmcand merged commit 12e66eb into main Jun 24, 2026
3 checks passed
@dcmcand dcmcand deleted the docs-portal branch June 24, 2026 12:52
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