Add GitHub Pages project site (Astro): readable + searchable book, blog, history - #8
Merged
Merged
Conversation
- site/: Astro 7 project — homepage, MDX blog, history page, and the full book rendered one page per section from the AsciiDoc sources via Asciidoctor.js (same splitting strategy as builder/src/site.rs) - Full-text search over book and blog with Pagefind - .github/workflows/deploy-site.yml: build on push to main and publish site/dist to the gh-pages branch Co-authored-by: Scott Chacon <schacon@gmail.com>
schacon
marked this pull request as ready for review
August 2, 2026 09:10
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
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
Adds a project website under
site/, built with Astro, plus a workflow that deploys it to thegh-pagesbranch on every push tomain.What's on the site
builder/src/site.rs) with a sidebar table of contents, breadcrumbs, and prev/next navigation. Cross-references and image paths are rewritten to the new page URLs; the book source is never duplicated in the repo (generated output is git-ignored)./search/.site/src/content/blog/for updates and progress; two starter posts included.Deployment
.github/workflows/deploy-site.ymlbuilds the site on push tomain(Node 22,npm ci,npm run build) and publishessite/dist/to thegh-pagesbranch viapeaceiris/actions-gh-pages. After merging, point Settings → Pages at thegh-pagesbranch; the site serves athttps://progit.github.io/progit3/. Base path and canonical URL are overridable viaBASE_PATH/SITE_URL.Verification
npm run buildsucceeds: 112 pages built, 109 indexed by Pagefind.dist/: 5,265 internal refs across 112 pages, 0 broken (the one flaggedjam.htmlis escaped text inside a Perforce diff code listing, not a real link).Note on the prose rule
The book text is rendered verbatim from the AsciiDoc sources — no book prose was touched. The site's own copy (homepage, history timeline, blog posts) is new website text written to fulfill this request; please review it as you would a draft, since it carries the project's voice.