Skip to content

Apply facto-stack Antora compose to docs.opensh.org hub - #1

Merged
AMDphreak merged 7 commits into
mainfrom
cursor/facto-stack-parity-8fad
Sep 28, 2026
Merged

AMDphreak merged 7 commits into
mainfrom
cursor/facto-stack-parity-8fad

Conversation

@AMDphreak

@AMDphreak AMDphreak commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Brings openshellorg/docs to facto-stack parity with dev-centr/docs for https://docs.opensh.org.

Playbook

  • indexify URLs, Lunr, unversioned-component-urls, site-nav-tree (curated roots), nav-typology (+ Diátaxis), build-stack, verify-themed-svg-dark-mode, page-context/edit, link tooling, mermaid-client + diagram-lightbox (antora-diagram-engines), asciidoctor-kroki for PlantUML/other Kroki types.
  • OSO site.keys preserved; Grammaton source Desktop-Tooling/grammaton-ui-shell.

Diagram rendering engines (not hub bake of upstream Mermaid)

Source Engine
[source,mermaid] @antora-supplemental/mermaid-client
PlantUML / Kroki types asciidoctor-kroki
Lightbox @antora-supplemental/diagram-lightbox
[.themed-svg] committed figures Product-repo bake; hub uses @dev-centr/themed-svg runtime only

The hub does not clone shell-architecture to re-run pnpm diagrams:check / mermaid-cli / Puppeteer. Mermaid .mmd ↔ committed SVG freshness is owned by humans and shell-architecture CI on developer machines.

Contributor docs: CONTRIBUTING.md, scripts/DIAGRAM-AUDITS.md, and shell-architecture diagrams/README.adoc.

Hub diagram CI (diagram-audit job)

  • pnpm diagrams:sync + pnpm diagrams:check:all (runtime sync, static dark-text audit, unit tests — no Chromium)
  • Antora build with verify-themed-svg-dark-mode warnings

Supplemental UI

Facto nav-tree / typology companions; mermaid-client + diagram-lightbox partials; OSO branding retained.

Verification

  • Local: pnpm diagrams:check:all and antora --fetch antora-playbook.yml succeed without Puppeteer.
  • GitHub Actions: diagram-audit + Antora build green on this branch.
Open in Web Open in Cursor 

cursoragent and others added 4 commits September 27, 2026 09:50
Merge DevCentr/facto-stack compose: indexify URLs, site-nav-tree with
curated OSO sidebar roots, nav-typology, page-context, link tooling,
mermaid-client, diagram-lightbox, and Kroki for non-Mermaid diagrams.
Point grammaton docs at Desktop-Tooling/grammaton-ui-shell.

Co-authored-by: Ryan Johnson <AMDphreak@users.noreply.github.com>
Copy nav-typology and site-nav-tree companion partials, helpers, and
scripts from the DevCentr docs pattern. Wire mermaid-client and
diagram-lightbox via head/footer partials; drop legacy site-mermaid assets.

Co-authored-by: Ryan Johnson <AMDphreak@users.noreply.github.com>
Add verify-themed-svg-dark-mode Antora extension, vendored @dev-centr/themed-svg
browser runtime, sync/check scripts, shell-architecture upstream diagram audits,
and CI diagram-audit job. Document upstream theme manifest fix for label colors.

Co-authored-by: Ryan Johnson <AMDphreak@users.noreply.github.com>
Clarify antora-diagram-engines (Mermaid client, lightbox) plus Kroki for
PlantUML; themed-SVG assets stay on the upstream bake pipeline, not alternate
AsciiDoc renderers.

Co-authored-by: Ryan Johnson <AMDphreak@users.noreply.github.com>
cursoragent and others added 3 commits September 27, 2026 09:58
Pass PUPPETEER_ARGS --no-sandbox when CI runs upstream shell-architecture
mermaid-cli checks; mirror env on diagram-audit and Antora build jobs.

Co-authored-by: Ryan Johnson <AMDphreak@users.noreply.github.com>
Remove shell-architecture clone diagrams:check and Puppeteer CI workarounds.
Hub diagram-audit keeps themed-svg runtime sync, static dark-text audit,
verifier tests, and Antora verify-themed-svg-dark-mode only.

Co-authored-by: Ryan Johnson <AMDphreak@users.noreply.github.com>
Add CONTRIBUTING.md and scripts/DIAGRAM-AUDITS.md: no mermaid-cli/Puppeteer
on Actions; point contributors to shell-architecture local diagrams:check.

Co-authored-by: Ryan Johnson <AMDphreak@users.noreply.github.com>
@AMDphreak
AMDphreak merged commit 314a13e into main Sep 28, 2026
3 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.

2 participants