Skip to content

docs: rework intro — real multi-macro example, expanded "Why", playground#184

Merged
austenstone merged 1 commit into
mainfrom
austenstone-docs-clarity-overhaul
Jun 22, 2026
Merged

docs: rework intro — real multi-macro example, expanded "Why", playground#184
austenstone merged 1 commit into
mainfrom
austenstone-docs-clarity-overhaul

Conversation

@austenstone

Copy link
Copy Markdown
Owner

What

The intro (/docs) is one of our most important pages and the old version was weak: a single dynamic-matrix snippet that didn't show off much, a thin 1-line "Why", and no mention of the playground. This reworks it.

Lead example — now a real, multi-macro workflow

Swaps the lone dynamic-matrix snippet for a real CI→deploy workflow that flexes three macros at once:

  • typed params (enum environment)
  • a shared-setup _anchors block reused across both jobs
  • a retry on the flaky deploy step

The generated .yml side is the actual actio build output (canonical --no-annotate --no-pin expansion), not hand-written — so it stays honest.

"Why" → "Why Actio"

Replaces the single lead-in sentence with 7 concise benefit bullets (zero lock-in, incremental adoption, pre-CI validation, step reuse, no runtime deps, one-source/many-workflows, honest output) ahead of the existing pain→macro table.

Playground

  • Adds a Callout under the example: try it in the browser before installing.
  • Adds a Playground card (first) to Next steps.

Drive-by

  • Repoints the home-page "Explore macros" button off the deprecated /docs/macros/fragments/docs/syntax.

De-dup respected

Keeps the canonical SSOT map: links /docs/syntax (keyword dictionary), /docs/architecture (mental model), /docs/macros/anchors (reuse), /docs/source-maps — doesn't re-enumerate any of them.

Gates

  • npm test -- docs-completeness syntax-reference macros84 passed
  • npm run docs:buildgreen, all paths prerendered (incl. /docs, /play) ✅

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

…nd playground

The lead example now compiles a real CI→deploy workflow that flexes three
macros at once (typed params, a shared _anchors setup reused across jobs, and
a retry on the deploy) instead of the single dynamic-matrix snippet. The
generated YAML is the actual `actio build` output (canonical --no-annotate
--no-pin expansion).

Replace the thin "Why" with a "Why Actio" benefit list (zero lock-in,
incremental adoption, pre-CI validation, step reuse, no runtime deps, one
source/many workflows, honest output) ahead of the pain→macro table. Add a
playground Callout under the example and a Playground card to Next steps.
Repoint the home-page "Explore macros" button off the deprecated
/docs/macros/fragments → /docs/syntax.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@austenstone austenstone marked this pull request as ready for review June 22, 2026 17:37
@austenstone austenstone merged commit d5bfecb into main Jun 22, 2026
8 checks passed
@austenstone austenstone deleted the austenstone-docs-clarity-overhaul branch June 22, 2026 17:37
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