π sync: retarget Hive docs source from v4 to v5 (hold until first v5 stable promotion) - #13
Merged
Merged
Conversation
Flips the sync-hive-docs.ts default branch to v5 so docs.hivecommons.dev documents the line that feeds the `stable` release channel once v5 is promoted (hivecommons/hive#7721 Phase 3). Netlify can still override with HIVE_DOCS_REF. Refs hivecommons/hive#7814 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Andrew Anderson <andy@clubanderson.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
4 tasks
clubanderson
marked this pull request as ready for review
September 21, 2026 20:00
26 tasks
This was referenced Sep 22, 2026
clubanderson
pushed a commit
to hivecommons/hive
that referenced
this pull request
Sep 22, 2026
β¦p page src/docs/roadmap.md still carried pre-cut-over framing that the docs site now publishes from v5 (hivecommons/docs#13 flipped the sync ref, closing #7814): a header dating it to the v4 line, an invitation to send feature PRs against the frozen v4 branch, a docs-site row describing the completed retarget as pending with the sync default still listed as v4, and blob/v4 deep links whose targets all exist on v5. Re-baseline all of it on v5. Docs-only; no behavior change. Closes #8185 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: sec-check <sec-check@hive.kubestellar.io>
clubanderson
added a commit
that referenced
this pull request
Sep 23, 2026
β¦clean Extend the sibling-docs sync so the Spektacular section on docs.hivecommons.dev carries the full documentation set: - Overview (README) and Knowledge base from hivecommons/spektacular - "Getting started" and "Dealing with unknown criteria" tutorials from hivecommons/spektacular-website (Astro MDX), converted to Markdown by the new scripts/mdx-to-markdown.ts: imports/exports stripped, <Step> and <AgentBlock> rendered as headed sections, <YouTubeVideo> as a timestamped link, unknown components flattened to their text with a note in the sync log, site-absolute links pointed at spektacular.dev, and referenced images copied under docs/content/spektacular/images/ - a second source per project with its own ref (SPEKTACULAR_WEBSITE_DOCS_REF) - an "also published at spektacular.dev" canonical note on every page - sidebar: Overview / Tutorials / Guides Make the synced content satisfy markdownlint (MD031/MD040) at the source instead of hand-editing generated files: scripts/markdown-fences.ts adds a language to bare fences and blank lines around them, applied by both sync scripts. The committed copies are regenerated by running the syncs (this also brings the Hive pages up to the v5 source that #13 retargeted). CI fixes for the three pre-existing red checks: - Vitest: run on Node 22 (jsdom 30 pulls in undici 8, which needs >= 22.19; Node 20 failed with "webidl.util.markAsUncloneable is not a function") - ESLint: drop eslint-disable comments for the removed rule @typescript-eslint/no-throw-literal - markdownlint: fence normalisation above Tests: fence normaliser, MDX converter, and the sibling sync config (every project enumerated, Spektacular pulling from both repos). Signed-off-by: Andrew Anderson <andy@clubanderson.com>
clubanderson
added a commit
that referenced
this pull request
Sep 23, 2026
* π docs: add Spektacular as a sibling project Spektacular (github.com/hivecommons/spektacular, canonical site spektacular.dev) transferred into hivecommons from jumppad-labs. Wire it into the sibling-docs sync alongside hotshot, pluk, rationguard and promptargs: - sync-sibling-docs.ts: new project entry (README.md required, docs/knowledge-base.md optional; SPEKTACULAR_DOCS_REF override) and a jumppad-labs -> hivecommons rewrite for repo sub-paths only (Go module path and Homebrew tap still live under jumppad-labs) - versions.ts / shared.json: extend ProjectId, add versions + projects entries, related-projects card and edit URL - page-map, [...slug] layout/page, sitemap, sidebar, source actions, edit link, related projects: enumerate spektacular everywhere the other siblings are - netlify.toml: /docs/spektacular root redirects - docs/content/spektacular: committed fallback copies used when the sync is unreachable Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: Andrew Anderson <andy@clubanderson.com> * π docs: port Spektacular docs from both repos and make the sync lint-clean Extend the sibling-docs sync so the Spektacular section on docs.hivecommons.dev carries the full documentation set: - Overview (README) and Knowledge base from hivecommons/spektacular - "Getting started" and "Dealing with unknown criteria" tutorials from hivecommons/spektacular-website (Astro MDX), converted to Markdown by the new scripts/mdx-to-markdown.ts: imports/exports stripped, <Step> and <AgentBlock> rendered as headed sections, <YouTubeVideo> as a timestamped link, unknown components flattened to their text with a note in the sync log, site-absolute links pointed at spektacular.dev, and referenced images copied under docs/content/spektacular/images/ - a second source per project with its own ref (SPEKTACULAR_WEBSITE_DOCS_REF) - an "also published at spektacular.dev" canonical note on every page - sidebar: Overview / Tutorials / Guides Make the synced content satisfy markdownlint (MD031/MD040) at the source instead of hand-editing generated files: scripts/markdown-fences.ts adds a language to bare fences and blank lines around them, applied by both sync scripts. The committed copies are regenerated by running the syncs (this also brings the Hive pages up to the v5 source that #13 retargeted). CI fixes for the three pre-existing red checks: - Vitest: run on Node 22 (jsdom 30 pulls in undici 8, which needs >= 22.19; Node 20 failed with "webidl.util.markAsUncloneable is not a function") - ESLint: drop eslint-disable comments for the removed rule @typescript-eslint/no-throw-literal - markdownlint: fence normalisation above Tests: fence normaliser, MDX converter, and the sibling sync config (every project enumerated, Spektacular pulling from both repos). Signed-off-by: Andrew Anderson <andy@clubanderson.com> * β test: render every synced Spektacular page end-to-end The Netlify site is not producing deploy previews for pull requests, so CI is the only place the converted MDX pages are proven to compile. Render the four Spektacular routes through the real docs page (content -> MDX compile -> evaluate -> DocsLayout) and fail if any of them falls back to the plain-text <pre> path, loses its H1, or does not route its tutorial screenshots through /docs-images/. Signed-off-by: Andrew Anderson <andy@clubanderson.com> * π docs: keep --tier <project|repo|all> code span on one line so MDX does not read it as JSX A hard wrap inside the inline code left `<project|repo|all>` at column 0, which the MDX compiler parses as a JSX tag and fails; the page then rendered as a raw <pre> dump. Same fix goes upstream to hivecommons/spektacular. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Andrew Anderson <andy@clubanderson.com> --------- Signed-off-by: Andrew Anderson <andy@clubanderson.com> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Refs hivecommons/hive#7814 Β· hivecommons/hive#7721 (Phase 3 row "Retarget docs.hivecommons.dev")
Hold released 2026-09-21: v5 is now the
stablerelease channel (hivecommons/hive#8059, promote run https://github.com/hivecommons/hive/actions/runs/35632232764 β stable=candidate=latest=v5e6f4da7).Flips
scripts/sync-hive-docs.ts's default fromv4tov5so every synced page's banner and canonical link point athivecommons/hive@v5.HIVE_DOCS_REFstill overrides at Netlify build time.Evidence after merge (per #7721): a Netlify deploy preview / synced page whose banner reads
hivecommons/hive@v5.