Skip to content

docs: publish the book and rustdoc to GitHub Pages - #3

Merged
HaoZeke merged 3 commits into
mainfrom
docs/site-2.14
Nov 17, 2026
Merged

HaoZeke merged 3 commits into
mainfrom
docs/site-2.14

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

The book and rustdoc had no published site. A push to main now builds the book, copies the rustdoc output under api/, and deploys it to https://d-seams.github.io/dseams-rs/ with upload-pages-artifact and deploy-pages.

lychee checks README.md and the built site with retries.

The README gains a Documentation section linking the site, docs.rs, the engine book's Rust page and the recording. The book landing page links the Rust page and embeds the recording.


Note

Low Risk
Changes are limited to documentation, CI deployment, and link checking; no application, auth, or data-handling code is modified.

Overview
Every push to main now publishes the mdBook and workspace rustdoc to GitHub Pages at https://d-seams.github.io/dseams-rs/. The docs job still builds rustdoc and the book, then bundles rustdoc under docs/book/api/ (with a small docs/rustdoc-index.html shim for api/index.html), runs lychee on README.md and the built site, and on main uploads the artifact; a new pages job deploys after libseams, bundled, and docs pass.

Book and README content is updated for the hosted layout: docs/book.toml sets site-url = "/dseams-rs/", the API and index chapters link to the on-site api/ rustdoc and external docs, and the README documents the live site, docs.rs, the engine Rust page, and the video. A changelog fragment records the new docs site.

Reviewed by Cursor Bugbot for commit d8db7b2. Bugbot is set up for automated code reviews on this repo. Configure here.

A push to main uploads docs/book, with the rustdoc output under api/,
and deploys it. lychee checks README.md and the built site.
The README gains a Documentation section. The book landing page links
the engine book's Rust page and embeds the recording, and the API page
links the rustdoc pages on the site.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4c3cb72. Configure here.

Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml
url: ${{ steps.deploy.outputs.page_url }}
steps:
- id: deploy
uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pages deploy can cancel in-flight

Medium Severity

The new pages job deploys with actions/deploy-pages inside the existing ci-${{ github.ref }} concurrency group, which cancels in-progress runs on main. A newer push can abort a live Pages deployment and leave GitHub’s deployment stuck so later deploys fail.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4c3cb72. Configure here.

rustdoc's help and settings pages link api/index.html, which a stable
workspace build does not write, so the site carries a page that points
at seams and seams_sys. doi.org answers CI runners with 403; the book
check already resolves the DOI.
@HaoZeke
HaoZeke merged commit 469a289 into main Nov 17, 2026
5 checks passed
@HaoZeke
HaoZeke deleted the docs/site-2.14 branch November 17, 2026 16:59
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