Migrate the guide site from Hugo to Astro + Starlight#18
Merged
Conversation
|
📄 Docs preview for |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replatforms the "Building a Software Pack" guide (
packs.nebari.dev/building-a-software-pack/) from Hugo to Astro + Starlight, themed by@nebari/starlight@^0.1.6. Maintainers keep writing Markdown; the shared theme handles presentation, and the guide now matches the portal and other packs.What changed
docs/site/(Bun), replacing the Hugo project. All 7 content pages migrated (+++TOML ->---YAML,_index.md->index.md); bodies unchanged. Files stay.mdso the Helm{{ }}code blocks are preserved.base:/building-a-software-pack/onmain(the portal Worker strips the prefix),/on PR previews (served at the pages.dev alias root). Files emit atdist/root.Conceptsadded to "Getting Started".docs.ymlswapped from Hugo/Go to Bun/Astro; computesBASE_PATHper environment, deploysdocs/site/dist, and comments the preview URL. Preserves the fork-PR deploy skip and Cloudflare project.Testing
bun testindocs/site: 11 pass (355 assertions) covering pages render + titles, sidebar structure/order, base-safe link resolution, branding CSS + portal logo link, Pagefind bundle, edit-link shape, and the rehype plugin unit tests.This PR's preview deploy exercises the CI path; production serves on merge to
main.