Repository navigation
docs(cli): make integration-authoring guide discoverable via astryx docs - #4114
Merged
Merged
Conversation
josephfarina
requested review from
cixzhang,
ejhammond and
imdreamrunner
as code owners
July 20, 2026 21:26
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
josephfarina
force-pushed
the
docs/integrations-cli-topic
branch
from
July 20, 2026 21:29
2f5d560 to
249d10f
Compare
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
josephfarina
marked this pull request as draft
July 20, 2026 21:33
josephfarina
force-pushed
the
docs/integrations-cli-topic
branch
from
July 20, 2026 23:52
249d10f to
939f529
Compare
Convert the standalone integration-authoring.md into a cli-integrations CLI docs topic (cli-integrations.doc.mjs) so it is served by `astryx docs cli-integrations`, section-addressable, searchable, and auto-listed on the docsite. The markdown file was unreachable from any command. The guide content was originally authored by EJ Hammond; this reworks it into the structured doc format, updates imports to the canonical @astryxdesign/core/authoring paths, and adds Codemods and How It Works sections. Also rewrites the CLI README Configuration section to match the current strict config schema and reframes the Integrations section around the two-file API (astryx.config + astryx.integration) as reference, linking to the topic for the full authoring walkthrough. Co-authored-by: EJ Hammond <[email protected]>
josephfarina
force-pushed
the
docs/integrations-cli-topic
branch
from
July 21, 2026 00:25
939f529 to
69e8644
Compare
josephfarina
marked this pull request as ready for review
July 21, 2026 00:32
josephfarina
added a commit
that referenced
this pull request
Jul 21, 2026
josephfarina
added a commit
that referenced
this pull request
Jul 21, 2026
Picked up via merge of main (#4114 added this doc after this branch forked). The id gate correctly flagged it; adding ids brings it into compliance. Co-authored-by: Cursor <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
EJ's guide was never reachable from the CLI —
astryx docsonly loads*.doc.mjsfiles, so plain markdown in that directory is invisible to both the CLI and the docsite. This converts it into a real docs topic and reframes the surrounding README docs.Docs topic (the guide)
cli-integrationstopic (packages/cli/docs/cli-integrations.doc.mjs). Served byastryx docs cli-integrations, section-addressable (astryx docs cli-integrations "How It Works"), searchable (astryx search integration), and auto-listed on the docsite via the generated registry — no extra wiring. Named with thecli-prefix since it's a top-level docs item.@astryxdesign/core/authoring(his original used the pre-move@astryxdesign/cli/*paths, which still work but are back-compat re-exports now).createCodemod/createConfigCodemodlive in@astryxdesign/cli/codemod, notcore/authoring) and How It Works (single schema boundary, resilient discovery,validate-integration/doctor).integration-authoring.md(its content now lives in the topic).CLI README (the reference)
## Configurationsection — it documented atemplates.getfield that no longer exists in the strict config schema — into the realastryx.configfield reference.## Integrationsfrom a guide into reference: what integrations are and what you'd use them for, theastryx.integrationmanifest field table, and a "How it works" mechanics section. The step-by-step authoring walkthrough stays in the topic, not the README — the README points atastryx docs cli-integrationsfor it.Why
Discoverability, plus a clean split of concerns. The one integrations doc that existed couldn't be found through the tool it documents. The README now codifies the two-file API (
astryx.config+astryx.integration) as reference; the CLI topic holds the authoring guide. Minimal duplication.Verification
astryx docs,astryx docs cli-integrations,astryx docs cli-integrations "How It Works",astryx search integration— all serve/find the topic; the oldintegrationsslug correctly 404s.apps/docsite/scripts/generate-data.mjspicks it up with no errors; it lands in the generated docs registry.packages/cli/src/commands/docs.test.mjs+docs.test.mjsAPI tests pass.Changeset included (
@astryxdesign/clipatch), crediting @ejhammond and @josephfarina.