Repository navigation
docs: publish the book and rustdoc to GitHub Pages - #3
Merged
Merged
Conversation
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.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ 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.
| url: ${{ steps.deploy.outputs.page_url }} | ||
| steps: | ||
| - id: deploy | ||
| uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1 |
There was a problem hiding this comment.
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)
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.
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.


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
mainnow publishes the mdBook and workspace rustdoc to GitHub Pages athttps://d-seams.github.io/dseams-rs/. Thedocsjob still builds rustdoc and the book, then bundles rustdoc underdocs/book/api/(with a smalldocs/rustdoc-index.htmlshim forapi/index.html), runs lychee onREADME.mdand the built site, and on main uploads the artifact; a newpagesjob deploys afterlibseams,bundled, anddocspass.Book and README content is updated for the hosted layout:
docs/book.tomlsetssite-url = "/dseams-rs/", the API and index chapters link to the on-siteapi/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.