Skip to content

docs: ship v0.4.0 versioned snapshot#288

Merged
erishforG merged 1 commit intomainfrom
develop
May 4, 2026
Merged

docs: ship v0.4.0 versioned snapshot#288
erishforG merged 1 commit intomainfrom
develop

Conversation

@erishforG
Copy link
Copy Markdown
Owner

Brings the manually-generated `docs/v/0.4.0/` snapshot from develop to main.

Why

The v0.4.0 release workflow's `snapshot-versioned-docs` job failed at `git push origin main` because main is now protected and rejects direct pushes (even from the github-actions bot). All other release jobs (Tag & Publish, 4-OS binaries, GitHub Release) succeeded — v0.4.0 is on crates.io and the Releases page is fine. Only the versioned docs archive at `/v/0.4.0/` is missing.

PR #287 added the snapshot to develop (locally reproducing the workflow's sed transformations). This PR ships it to main.

On merge

The release.yml workflow will fire again on push to main. Both Tag & Publish and Snapshot Versioned Docs jobs are gated on `needs.release.outputs.created == 'true'` — and since v0.4.0 tag already exists, both will be skipped. So this PR is purely a docs-only delta, no re-publish, no double-tag.

What lands

  • `docs/v/0.4.0/index.html`, `docs/v/0.4.0/guide/index.html`, `docs/v/0.4.0/reference/index.html`
  • `docs/versions.json` updated (latest = "0.4.0", new entry prepended)
  • `docs/sitemap.xml` 3 new `/v/0.4.0/` entries

🤖 Generated with Claude Code

The release workflow's snapshot-versioned-docs job ran on the v0.4.0
release but failed at the final `git push origin main` step because
main is now protected and rejects direct pushes (even from the
github-actions bot):

  remote: error: GH006: Protected branch update failed for refs/heads/main.
  remote: - Changes must be made through a pull request.
  remote: - 7 of 7 required status checks are expected.

The snapshot itself was correctly generated by the workflow (per its
log), it just couldn't land it on main. Reproducing the same sed
transformations locally for docs/v/0.4.0/{index,guide,reference}/
and shipping via the proper develop → main path.

Changes:
- docs/v/0.4.0/index.html, guide/index.html, reference/index.html
  (generated using the same sed transformations as release.yml — paths
  rewritten to /git-parsec/v/0.4.0/, robots noindex, demo.gif src
  absolute, data-doc-version="0.4.0")
- docs/versions.json: latest = "0.4.0", new entry prepended
- docs/sitemap.xml: 3 new /v/0.4.0/{,/guide/,/reference/} entries

Note: v0.4.0 binary (crates.io) and GitHub Release are already shipped
correctly. This PR only fills the missing versioned docs archive.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
@erishforG erishforG merged commit d919640 into main May 4, 2026
22 checks passed
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