Skip to content

docs: adopt <Files> trees and AutoTypeTable config tables#187

Merged
austenstone merged 2 commits into
mainfrom
austenstone-docs-clarity-overhaul
Jun 22, 2026
Merged

docs: adopt <Files> trees and AutoTypeTable config tables#187
austenstone merged 2 commits into
mainfrom
austenstone-docs-clarity-overhaul

Conversation

@austenstone

Copy link
Copy Markdown
Owner

Two Fumadocs components that make the docs clearer and self-maintaining. Final stack of the clarity overhaul, on top of #184/#185/#186.

<Files> — file-tree diagrams

Replaces plain text/code-block trees with real rendered file trees (highlighted target node):

  • quickstart — source vs committed-dist layout (.github/actio/.github/workflows/)
  • configuration — config discovery walking up to the repo root, reinforcing the "run actio build from anywhere" prose
  • macros/templates — cross-file template library (ci.actio.yml + shared lib.actio.yml)

<AutoTypeTable> — drift-free prop tables

Renders prop tables straight from packages/core/src/config.ts, so they can never drift from the real types (JSDoc becomes the description column):

  • PermissionsConfigmacros/permissions — at-a-glance config summary above the existing mode/mapping deep-dives
  • PinConfigsupply-chain — per-class pinning controls (enabled/thirdParty/github/docker/allow/comment)

ActioConfig was already on configuration from #186; this extends the pattern to the two other config objects with rich JSDoc.

Registration

components/mdx.tsx: registers File/Files/Folder (additive). AutoTypeTable was already wired (generator + FS cache).

Gates — all green

  • npm run build → exit 0 (core, so AutoTypeTable/twoslash types resolve)
  • npm run docs:build → exit 0, 164 doc pages SSG'd
  • npm test -- docs-completeness syntax-reference macros84/84
  • Live dev-server check: both new tables render their real fields (inferRunScopes; docker/enabled/thirdParty)

🤖 Generated with Copilot CLI

austenstone and others added 2 commits June 22, 2026 15:17
Two Fumadocs components that make the docs clearer and self-maintaining:

<Files> file-tree diagrams replace plain text/code block trees:
- quickstart: source vs committed-dist (.github/actio -> workflows) layout
- configuration: config discovery walking up to the repo root
- macros/templates: cross-file template library (lib.actio.yml)

<AutoTypeTable> renders live prop tables straight from packages/core
source, so they never drift from the types:
- PermissionsConfig in macros/permissions (at-a-glance config summary)
- PinConfig in supply-chain (per-class pinning controls)

components/mdx.tsx registers File/Files/Folder; AutoTypeTable was
already wired.

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