Repository navigation
chore: v2.4.0 - Add experimental.pages to docu.json: bring your own landing page and keep… - #462
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: standard. This is the Changesets-generated release PR for @docubook/[email protected]. It ships the experimental.pages feature from #461.
- Changeset consumed:
.changeset/own-pages.mdis removed, and its text appears word for word as the2.4.0→Minor Changesentry inpackages/flame/CHANGELOG.md. - Version bump:
packages/flame/package.jsongoes from2.3.1to2.4.0. This is a minor bump, as the changeset declares. - Release scope: only flame is versioned. No other workspace package lists
@docubook/flameas a dependency or peer (packages/flame/template/package.jsonpins"latest"). So under the linked group, core, markdown, themes-colors and ui-react correctly stay at their current versions. No2.3.1string is left anywhere inpackages/flameoutside the changelog.
Overall assessment: ready to merge. There are no priorities to call out.
claude-opus-5-5 | 𝕏
b936e72 to
0d1fe4a
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: standard. Changesets regenerated the release PR after #463 landed on main, and this run reviewed that update.
- Consumed
fix-cache-deploychangeset: Deleted.changeset/fix-cache-deploy.md. Its text now appears word for word under a new### Patch Changesheading in the2.4.0entry ofpackages/flame/CHANGELOG.md. - Kept the version at
2.4.0: The minor changeset from #461 still sets the bump, so the new patch changeset leavespackages/flame/package.jsonunchanged. - Kept the release scope: Both changesets declare only
@docubook/flame, so the linked group still releases only flame. On the head commit,.changeset/holds onlyREADME.mdandconfig.json, so every changeset has been consumed.
Overall assessment: ready to merge. Nothing needs attention.
claude-opus-5-5 | 𝕏
0d1fe4a to
f61fc5a
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: standard. Changesets regenerated the release PR after #464 landed on main. This run reviewed that update.
- Consumed the
warn-missing-routeschangeset: Deleted.changeset/warn-missing-routes.md. Its text now appears word for word as a second entry under### Patch Changesin the2.4.0section ofpackages/flame/CHANGELOG.md. - Kept the version at
2.4.0: The minor changeset from #461 still sets the bump, so this patch changeset leavespackages/flame/package.jsonunchanged. - Kept the release scope: The new changeset declares only
@docubook/flame, so the linked group still releases only flame. Onf61fc5a,.changeset/holds onlyREADME.mdandconfig.json, so every changeset has been consumed.
Overall assessment: ready to merge. Nothing needs attention.
claude-opus-5-5 | 𝕏
f61fc5a to
b376bd3
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: standard. Changesets regenerated the release PR after #465 landed on main, and this run reviewed that update.
- Consumed the
fix-seo-canonical-ogchangeset: Deleted.changeset/fix-seo-canonical-og.md. Its text now appears word for word as an entry under### Patch Changesin the2.4.0section ofpackages/flame/CHANGELOG.md. - Kept the version at
2.4.0: The minor changeset from #461 still sets the bump, so this patch changeset leavespackages/flame/package.jsonunchanged. - Kept the release scope: The new changeset declares only
@docubook/flame, so the linked group still releases only flame. Onb376bd3,.changeset/holds onlyREADME.mdandconfig.json, so every changeset has been consumed.
Overall assessment: ready to merge. Nothing needs attention.
claude-opus-5-5 | 𝕏
b376bd3 to
8969b4d
Compare
8969b4d to
def0f0c
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: standard. Changesets regenerated the release PR after #468 landed on main, and this run reviewed that update.
- Consumed the
redesign-404-pagechangeset: Deleted.changeset/redesign-404-page.md. Its text now appears word for word as an entry under### Patch Changesin the2.4.0section ofpackages/flame/CHANGELOG.md. - Kept the version at
2.4.0: The minor changeset from #461 still sets the bump, so this patch changeset leavespackages/flame/package.jsonunchanged. - Kept the release scope: The new changeset declares only
@docubook/flame, so the linked group still releases only flame. Ondef0f0c,.changeset/holds onlyREADME.mdandconfig.json, so every changeset has been consumed.
Overall assessment: ready to merge. Nothing needs attention.
claude-opus-5-5 | 𝕏
def0f0c to
2e408a2
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: standard. Changesets regenerated the release PR after #469 landed on main, and this run reviewed that update.
- Consumed the
fix-deploy-silent-cichangeset: Deleted.changeset/fix-deploy-silent-ci.md. Its text now appears word for word under### Patch Changesin the2.4.0section ofpackages/flame/CHANGELOG.md, between the #463 and #465 entries. - Kept the version at
2.4.0: The minor changeset from #461 still sets the bump, so this patch changeset leavespackages/flame/package.jsonunchanged. - Kept the release scope: The new changeset declares only
@docubook/flame, so the linked group still releases only flame. On2e408a2,.changeset/holds onlyREADME.mdandconfig.json, so every changeset has been consumed.
Overall assessment: ready to merge. Nothing needs attention.
claude-opus-5-5 | 𝕏
2e408a2 to
32730a0
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: standard. Changesets regenerated the release PR after #470 landed on main. This is the first update in this PR that also releases @docubook/markdown, and this run reviewed it.
- Consumed the
center-mermaid-diagramschangeset: Deleted.changeset/center-mermaid-diagrams.md. Its text now appears word for word as the2.4.0→### Patch Changesentry inpackages/markdown/CHANGELOG.md. - Bumped
@docubook/markdownto2.4.0: The changeset is a patch, but markdown and flame are in the same linked group, so markdown takes the group's highest version (2.4.0) instead of2.3.1. That is how Changesetslinkedis meant to work. - Recorded the dependency update in flame:
packages/flame/CHANGELOG.mdnow has an "Updated dependencies →@docubook/[email protected]" line. flame's manifest needs no change because it depends on markdown throughworkspace:^. - Kept the rest of the release scope: No other workspace package depends on markdown or flame, so core (
2.2.5), themes-colors (2.2.1) and ui-react (2.3.0) correctly keep their versions. On32730a0,.changeset/holds onlyREADME.mdandconfig.json, so every changeset has been consumed.
Overall assessment: ready to merge. No priorities.
claude-opus-5-5 | 𝕏
32730a0 to
577b3c0
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: standard. Changesets regenerated the release PR after #471 landed on main, and this run reviewed that update.
- Consumed the
mermaid-fullscreen-touchchangeset: Deleted.changeset/mermaid-fullscreen-touch.md. Its text now appears word for word as the second entry under### Patch Changesin the2.4.0section ofpackages/markdown/CHANGELOG.md, after the #470 entry. - Extended flame's dependency note: In
packages/flame/CHANGELOG.md, the "Updated dependencies" line now lists botha0954b5and3d7ac54, and still points to@docubook/[email protected]. - Kept versions and release scope: The new changeset is a patch for
@docubook/markdown, which is already at2.4.0through the linked group, so neitherpackage.jsonchanges. core, themes-colors and ui-react keep their versions. On577b3c0,.changeset/holds onlyREADME.mdandconfig.json, so every changeset has been consumed.
Overall assessment: ready to merge. No priorities.
claude-opus-5-5 | 𝕏
577b3c0 to
a69fccc
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: standard. Changesets regenerated the release PR after #472 landed on main, and this run reviewed that update.
- Consumed the
mobile-toc-progresschangeset: Deleted.changeset/mobile-toc-progress.md. Its text now appears word for word under### Patch Changesin the2.4.0section ofpackages/flame/CHANGELOG.md, between the #465 and #468 entries. - Kept versions and release scope: The new changeset is a patch for
@docubook/flame, which is already at2.4.0because of the minor changeset from #461, so neitherpackage.jsonchanges. markdown stays at2.4.0, and core (2.2.5), themes-colors (2.2.1) and ui-react (2.3.0) keep their versions. Ona69fccc,.changeset/holds onlyREADME.mdandconfig.json, so every changeset has been consumed.
Overall assessment: ready to merge. No priorities.
claude-opus-5-5 | 𝕏
a69fccc to
4a013d8
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: standard. Changesets regenerated the release PR after #473 landed on main, and this run reviewed that update.
- Consumed the
mobile-toc-progress-numberchangeset: Deleted.changeset/mobile-toc-progress-number.md. Its text now appears word for word under### Patch Changesin the2.4.0section ofpackages/flame/CHANGELOG.md, between the #465 and #472 entries. - Kept versions and release scope: The new changeset is a patch for
@docubook/flame. flame is already at2.4.0because of the minor changeset from #461, so neitherpackage.jsonchanges. markdown stays at2.4.0. core (2.2.5), themes-colors (2.2.1) and ui-react (2.3.0) keep their versions. On4a013d8,.changeset/holds onlyREADME.mdandconfig.json, so every changeset has been consumed.
Overall assessment: ready to merge. No priorities.
claude-opus-5-5 | 𝕏
4a013d8 to
244a714
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: standard. Changesets regenerated the release PR after #474 reverted #473 on main. This run reviewed that update.
- Dropped the reverted #473 entry: The revert (
b43c2d9) deleted.changeset/mobile-toc-progress-number.md. The "percentage inside the mobile table of contents progress ring" entry is now gone from the2.4.0→### Patch Changessection ofpackages/flame/CHANGELOG.md, and no#473/29e6524reference is left. The #472 entry now follows #465 directly and is unchanged. - Kept versions and release scope: The minor changeset from #461 still bumps flame to
2.4.0, and markdown stays at2.4.0through the linked group. core (2.2.5), themes-colors (2.2.1) and ui-react (2.3.0) keep their versions. On244a714,.changeset/holds onlyREADME.mdandconfig.json, so every changeset has been consumed.
Overall assessment: ready to merge. No priorities.
claude-opus-5-5 | 𝕏
…wn landing page and keep… - @docubook/flame (minor): Add `experimental.pages` to `docu.json`: bring your own landing page and keep everything Flame builds under `meta.basePath` - @docubook/markdown (patch): Center Mermaid diagrams that are narrower than the content column - @docubook/flame (patch): Fix stale output from incremental builds and make the GitHub Pages workflow match the project's package manager on every runtime - @docubook/flame (patch): Fix two `flame deploy` flags - @docubook/flame (patch): Fix two SEO metadata bugs in the build output - @docubook/markdown (patch): Adapt the Mermaid fullscreen view to touch-first devices - @docubook/flame (patch): Show reading progress in the mobile table of contents bar - @docubook/flame (patch): Fix the mobile table of contents bar's spacing and its long list - @docubook/flame (patch): Redesign the generated 404 page - @docubook/flame (patch): Warn about `routes` entries in `docu.json` that link to a page with no source in `docs/`
244a714 to
2f2ce45
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: standard. Changesets regenerated the release PR after #475 landed on main, and this run reviewed that update.
- Consumed the
mobile-toc-spacing-scrollchangeset: Deleted.changeset/mobile-toc-spacing-scroll.md. Its text now appears word for word under### Patch Changesin the2.4.0section ofpackages/flame/CHANGELOG.md, between the #472 and #468 entries. - Kept versions and release scope: The new changeset is a patch for
@docubook/flame. flame is already at2.4.0because of the minor changeset from #461, so neitherpackage.jsonchanges. markdown stays at2.4.0through the linked group. core (2.2.5), themes-colors (2.2.1) and ui-react (2.3.0) keep their versions. On2f2ce45,.changeset/holds onlyREADME.mdandconfig.json, so every changeset has been consumed.
Overall assessment: ready to merge. No priorities.
claude-opus-5-5 | 𝕏

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@docubook/[email protected]
Minor Changes
#461
dcd326eThanks @gitfromwildan! - Addexperimental.pagestodocu.json: bring your own landing page and keep everything Flame builds undermeta.basePath.With the flag on, the build writes no landing page and no landing bundle, and the
homesection is ignored with a warning. The 404 page stays Flame's and moves to<basePath>/404.html. Hashed bundles, the asset manifest and the search index move from the dist-rootassets/to<basePath>/_flame/, so they never collide with an app's own/assets/. One route rule for the docs prefix then serves the docs next to any other app on the same origin, by merging the outputs or by a host rewrite. Stale output from a build with the other setting is cleaned up, and the flag is part of the build cache key.flame devandflame previewredirect/to the docs prefix; at a root deployment ("basePath": "") the docs index owns/.flame deploy --dockergenerates an nginx config that redirects/to the docs and serves the prefixed 404.flame deployfor GitHub Pages builds withFLAME_STANDALONE=1, which adds a root redirect and a root 404 to the artifact. Both warn when a keptnginx.confor workflow predates the flag.A root
meta.basePath(""or"/") next to the flag puts the docs index,404.htmland every page at the dist root, so it cannot share the origin with another app. The build and dev server warn about that combination, and thedocu.jsonschema rejects it in the editor; a docs-only site that wants no landing page still builds.Plugins receive the bundle directory as
assetsDirin theonEndcontext. ResolveassetManifestentries against it instead of a hard-codedoutDir/assets, which no longer holds the bundles under the flag.Type change for TypeScript plugins:
AssetManifest.homeis now optional, because no landing bundle is built under the flag. Code that readsassetManifest.home.cssstops compiling understrictNullChecks, even with the flag off; null-check it (assetManifest.home?.css).Independently of the flag, a whitespace-only
meta.basePathsuch as" "is now a build error instead of being read as the deployment root. Set""or"/"for a root deployment.The flag is off by default: existing projects keep the same output layout and page content until they opt in. Only the client bundle changes, so its hashed file names change once, as with any release that touches client code.
Patch Changes
#463
55ae4c3Thanks @gitfromwildan! - Fix stale output from incremental builds and make the GitHub Pages workflow match the project's package manager on every runtime.docu.jsonedit that does not touch the theme ormeta.basePath(a sidebar title, the navbar text, the repo URL) now rebuilds the client bundle and re-renders every page. Before, every page was a cache hit and the bundle kept the old config untilflame build --force. The resolved config is now part of the cache key (BUILD_CACHE_VERSION9).flame deployunder Bun wrote a Bun-only workflow (bun install) even for npm, pnpm and yarn projects. Both runtimes now write the same package-manager-aware workflow. Bun projects with a lockfile now install with--frozen-lockfile.versiontopnpm/action-setupwhenpackage.jsondoes not declare pnpm inpackageManagerordevEngines.packageManager, which the action requires. It pins the major of the pnpm that ranflame deploy, orlatest.#469
b587c7eThanks @gitfromwildan! - Fix twoflame deployflags.--silentnow prints nothing on Node and Deno when the deploy succeeds, as it already did on Bun. The in-process build used to print the Vite chunk report and the progress spinner, over a hundred lines. Build errors are still shown, and the exit code is unchanged.LOG_LEVELandLOG_FORMAT=jsonlike the rest of the logger. It is quiet when info messages are filtered out, and it writes JSON entries instead of terminal control codes in JSON mode.--ciwithout--dockerused to be ignored without a word. flame now warns that--cionly applies with--docker, even under--silent, and points toflame deploy --docker --ci.#465
cbae9b7Thanks @gitfromwildan! - Fix two SEO metadata bugs in the build output.docs/index.mdx) got the landing page's canonical andog:url(<baseURL>/) instead of its own (<baseURL><basePath>/) whenevermeta.basePathhas a prefix. Search engines then treated it as a duplicate of the landing page, or, withexperimental.pages, of the project's own home page.buildSeoMeta()now takes the page kind, and the landing page passes"landing".og:imagelost a path segment when the first segment ofmeta.basePathequals the deployment path frommeta.baseURL(for examplebasePath: "/repo"underhttps://acme.github.io/repo). Every page then pointed at a missing image. The deployment path is now only dropped from an image path when the author wrote it out and what remains is still a docs path, and it is dropped before the path is re-based onto the prefix.#472
6eea0b7Thanks @gitfromwildan! - Show reading progress in the mobile table of contents bar.A small circular progress indicator now sits to the left of the current section's title, inline in the bar's table of contents button. It fills with the share of sections reached: the active heading's position among the page's headings. It completes at the end of the page, since a short last section never scrolls up far enough to become active. The fill animates and stays still for visitors who prefer reduced motion. The button's accessible name includes the percentage, for example "Expand table of contents, 56% of sections read".
Above the first heading, the bar now shows the page title, as the desktop table of contents does. It used to keep the last active section after scrolling back to the top.
#475
b48ab23Thanks @gitfromwildan! - Fix the mobile table of contents bar's spacing and its long list.aria-current="location".#468
93f725aThanks @gitfromwildan! - Redesign the generated 404 page.navbar.logois the page mascot, shown as an<img>and animated with CSS only. The page ships no script, so the animation is light, and an SVG loaded through<img>cannot run scripts. Without a logo, a small inline illustration takes its place. All motion usesmotion-safe:, so the page is still for visitors who prefer reduced motion./, a single "Back to home" button is shown.#464
081f124Thanks @gitfromwildan! - Warn aboutroutesentries indocu.jsonthat link to a page with no source indocs/.flame buildandflame devlist every such entry with its sidebar trail, for example after a page was renamed or deleted but its sidebar entry was kept. The check builds each link the way the sidebar does: childhrefs are joined onto their parent under the docs prefix.noLinksections are skipped, but their items are still checked, and insidebar.context: "separator"mode context sections are treated as headers. It only runs whendocu.jsonhas aroutestable, since a scanned sidebar always matches the files. The build still succeeds.External URLs and fragments in
routesnow work in the sidebar. Anhrefwith a scheme or starting with//was prefixed with the parent path and the docs prefix and suffixed with.html(/docshttps://…html), and/intro#setupbecame/docs/intro#setup.html. The sidebar now links external URLs as written and keeps a#fragmentor?queryafter.html. Pagination and the context switcher skip external entries and treat a fragment link as its page.The
routesexample in the configuration docs repeated the parent path in childhrefs, which renders links such as/docs/docs/getting-started/docs/getting-started/introduction. It now uses relativehrefs like the starter template.Updated dependencies [
a0954b5,3d7ac54]:@docubook/[email protected]
Patch Changes
#470
a0954b5Thanks @gitfromwildan! - Center Mermaid diagrams that are narrower than the content column.The diagram's
<pre class="mermaid">was meant to shrink to the diagram and center itself. A host stylesheet that widens every<pre>defeats that, and flame's does, so the SVG sat at the start of the column. The<pre>now carriesdata-mermaid-align="center", andstyles.csscenters the diagram's own<svg>with auto margins.The rule moves only the SVG's outer box. It sets no
text-align, which Mermaid's HTML labels would inherit. It also leaves the<pre>a plain block, so a Gantt chart still gets the full column width when Mermaid measures it.#471
3d7ac54Thanks @gitfromwildan! - Adapt the Mermaid fullscreen view to touch-first devices.On a phone, or a tablet without a mouse, fullscreen used to show the desktop controls: an Esc badge and help that mentioned keys and the scroll wheel. It now detects the primary input with
(hover: none) and (pointer: coarse)and follows changes, such as a keyboard being attached.On desktop, the help's "Move" line now reads "drag or arrow keys". It used to read "hold scroll wheel or tap & drag".