Skip to content

Site build: use the shared document-folio steps (adds bibliography) and refuse broken links - #158

Merged
litlfred merged 4 commits into
mainfrom
claude/site-build-document-folio
Nov 21, 2026
Merged

litlfred merged 4 commits into
mainfrom
claude/site-build-document-folio

Conversation

@litlfred

Copy link
Copy Markdown
Collaborator

Requested by litlfred · project thread

Closes #157. Part of litlfred/cat-harness-tools#2345 (owner's option A).

What

  • index.config.json site.build: "extends": "document-folio" (folio-assistant-core templates/site-presets/document-folio.json, read by cat-harness-tools scripts/lib/site-presets.ts; both are in this repo's current pins: tools 864ff1f, core ca6ede7). Only dth-hrh's own steps stay: site:wg-comment, site:node-kinds, site:export and the pre checks.
  • package.json: drops site:archimate, site:context, site:glossary, site:library and site:review-sheet, which were identical to the preset's commands. site:document stays, so --downloads is kept (a site's own script of a step's name wins over the preset's).

What changes on the site

  • New: bibliography pages (site:bibliography), which dth-hrh never built.
  • Stricter: the preset sets links: refuse, so a publish now fails on ANY broken internal link (content pages, self-address links, diagrams), not only the platform's. Namespace IRIs (…/v0/ns…) are never counted. If the first build finds broken links, they're fixed in this PR before it's marked ready.

Step order after the merge: document, library, review sheet, glossary, bibliography, ArchiMate, context, wg-comment; then node-kinds and export after Jekyll.

Checking

Labelled preview so the PR builds a preview and reports its link check.


Generated by Claude Code

Adds the bibliography step dth-hrh never had, and refuses a publish with a
broken internal link (litlfred/cat-harness-tools#2345). Only dth-hrh's own
steps stay listed; the package scripts identical to the preset's go.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qmmkt8uBwv6vsMUHNmy7AQ
@litlfred litlfred self-assigned this Nov 21, 2026
@litlfred litlfred added the preview label Nov 21, 2026 — with Claude

Copy link
Copy Markdown
Collaborator Author

Pushed 5748fcf: extends document-folio; identical package scripts dropped.


Generated by Claude Code

Picks up cat-harness-tools#2483 (core's attestation pages are built) and
folio-assistant-core#857, so the site passes links: refuse. Local build:
29,549 html pages, 0 unresolved internal links. Workflow pins follow the
lock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qmmkt8uBwv6vsMUHNmy7AQ

Copy link
Copy Markdown
Collaborator Author

Pushed a4a4895: merged main (with #160) and re-pinned every layer to current main, with the owner's consent (2026-11-21 17:48Z). Local build with links: refuse: 29,549 html pages, 0 unresolved internal links, exit 0. Lock coherence OK.


Generated by Claude Code

@litlfred
litlfred marked this pull request as ready for review November 21, 2026 17:59
@litlfred litlfred added ready-to-merge Ready to merge: with a signed ready: <head sha> comment; the merge manager lands it on green release A release merge: the full CI suite gates it (release-gated CI, cat-harness#1158) labels Nov 21, 2026 — with Claude
The re-pinned tools now generate a README for each declared directory, and
readme:subgraphs:check reported these as stale.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qmmkt8uBwv6vsMUHNmy7AQ

Copy link
Copy Markdown
Collaborator Author

Pushed bc07984: generated the declared directories' READMEs. The full tier's only new red was readme:subgraphs:check (the re-pinned tools now write a README for each declared directory). Full checks run again on this push.


Generated by Claude Code

@litlfred
litlfred merged commit ca131e4 into main Nov 21, 2026
16 of 17 checks passed

Copy link
Copy Markdown
Collaborator Author

Merged as ca131e4 (merge commit) on the owner's answer of 2026-11-21 23:25Z, "Only non-content can be merged": this PR changes only workflows, lock pins, the site recipe and generated READMEs.


Generated by Claude Code

@litlfred litlfred removed ready-to-merge Ready to merge: with a signed ready: <head sha> comment; the merge manager lands it on green release A release merge: the full CI suite gates it (release-gated CI, cat-harness#1158) preview labels Nov 21, 2026
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.

Site build: use the shared document-folio steps (adds bibliography) and refuse broken links

2 participants