chore(website): serve build-accurate archives of past releases at /v/<version>/#67
Open
aslakhellesoy wants to merge 1 commit into
Open
chore(website): serve build-accurate archives of past releases at /v/<version>/#67aslakhellesoy wants to merge 1 commit into
aslakhellesoy wants to merge 1 commit into
Conversation
…<version>/
Readers can browse the website exactly as it shipped for any past release at
varar.dev/v/<version>/ — the whole site, interactive editor included, running
that release's own code, not just frozen prose.
- astro.config.mjs honours VARAR_SITE_BASE so a release can be built under a
path prefix; archived versions are marked noindex and link home via a footer
"Version history" entry to the /v/ hub.
- release/website-*.{sh,mjs} build a version snapshot, rebase hand-written
root-absolute links under the prefix, and generate the /v/ archive hub.
- website.yml owns website deploy: it snapshots each release tag onto an orphan
website-snapshots branch and overlays the archive into the Cloudflare deploy.
Backfill past releases via its workflow_dispatch. Deploy moved out of
typescript.yml (its path filter can't react to tags); the PR build gate stays.
- doc/website-versioning.md documents the mechanism and backfill.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FaBNvwetMrvHtc5PqVRfa
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.
Readers can browse the website exactly as it shipped for any past release at
varar.dev/v// — the whole site, interactive editor included, running
that release's own code, not just frozen prose.
path prefix; archived versions are marked noindex and link home via a footer
"Version history" entry to the /v/ hub.
root-absolute links under the prefix, and generate the /v/ archive hub.
website-snapshots branch and overlays the archive into the Cloudflare deploy.
Backfill past releases via its workflow_dispatch. Deploy moved out of
typescript.yml (its path filter can't react to tags); the PR build gate stays.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_014FaBNvwetMrvHtc5PqVRfa