Skip to content

Nest publish in CI, simplify assemble injection, add diataxis docs#7

Merged
coretl merged 1 commit into
mainfrom
todo-three-tasks
Jun 19, 2026
Merged

Nest publish in CI, simplify assemble injection, add diataxis docs#7
coretl merged 1 commit into
mainfrom
todo-three-tasks

Conversation

@coretl

@coretl coretl commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Three changes from todo.md, refined over several review passes:

  1. Publish visible on internal PRs. publish.yml -> reusable _publish.yml (workflow_call + workflow_dispatch); ci.yml nests it as a publish job for internal events only (canonical-repo + non-fork guard lives in ci.yml), so the deploy shows as a PR/commit check. Fork PRs get a warning step in _docs.yml's build job linking the manual opt-in. Because publish runs inside the build's own run, the action downloads this run's docs artifact and assemble.sh unzips + stages it via artifact-version-name, skipping the re-gather of that version. Operator: the github-pages environment must allow the deploying refs (recommend "Deployment branches and tags" -> No restriction).

  2. Rename the version concept "token" -> "version-name" throughout (avoids confusion with GitHub auth tokens).

  3. Docs reworked into a Diataxis tree mirroring python-copier-template-example: README selling-points are {include}d into index.md (+ a 4-card grid); category landing pages; tutorial / how-to (migrate, contribute) / explanation (architecture, folding in the deleted DESIGN.md) / reference (directive, action). Dev commands move to .github/CONTRIBUTING.md; the tutorial {literalinclude}s the generic _docs.yml build so it can't drift. Deferred release-layer cache tracked as issue Release-layer cache for assemble (deferred optimisation) #6.

Three changes from todo.md, refined over several review passes:

1. Publish visible on internal PRs. publish.yml -> reusable _publish.yml
   (workflow_call + workflow_dispatch); ci.yml nests it as a `publish` job for
   internal events only (canonical-repo + non-fork guard lives in ci.yml), so the
   deploy shows as a PR/commit check. Fork PRs get a warning step in _docs.yml's
   build job linking the manual opt-in. Because publish runs inside the build's own
   run, the action downloads this run's `docs` artifact and assemble.sh unzips +
   stages it via `artifact-version-name`, skipping the re-gather of that version.
   Operator: the github-pages environment must allow the deploying refs
   (recommend "Deployment branches and tags" -> No restriction).

2. Rename the version concept "token" -> "version-name" throughout (avoids
   confusion with GitHub auth tokens).

3. Docs reworked into a Diataxis tree mirroring python-copier-template-example:
   README selling-points are {include}d into index.md (+ a 4-card grid); category
   landing pages; tutorial / how-to (migrate, contribute) / explanation
   (architecture, folding in the deleted DESIGN.md) / reference (directive, action).
   Dev commands move to .github/CONTRIBUTING.md; the tutorial {literalinclude}s the
   generic _docs.yml build so it can't drift. Deferred release-layer cache tracked
   as issue #6.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@coretl coretl merged commit a501503 into main Jun 19, 2026
5 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.

1 participant