docs: MVP-β restructure CONTRIBUTOR-DOCS around audiences#6206
docs: MVP-β restructure CONTRIBUTOR-DOCS around audiences#6206caseyisonit wants to merge 2 commits intocaseyisonit/docs-rfc-scaffoldingfrom
Conversation
Moves all 132 tracked CONTRIBUTOR-DOCS files into audience-based folders (for-consumers, for-contributors, for-maintainers, for-internals, for-agents, reference, project-planning, rfcs), dropping numeric prefixes except inside project-planning (audited in MVP-η). All moves use git mv to preserve rename history; individual file contents unchanged. Cross-reference patches: - 23 files outside CONTRIBUTOR-DOCS (.ai/, .github/, 2nd-gen/, 1st-gen/) updated to point at the new audience-based paths. - 55 intra-doc files updated for cross-links under the new tree. - Generator scripts updated: generate-contributor-docs.mjs MIRROR_EMITS, generate-component-matrix.mjs output path, main.ts titlePrefix glob. - verify-links.js now skips /docs/ stable Storybook paths per .ai/rules/storybook-mdx-conversion.md. - .husky/pre-commit calls update-nav.js at its new path. Verification: - update-nav.js: 340/340 links valid - yarn generate:contributor-docs: 128 MDX files + 2 mirror pages - yarn generate:component-matrix: 7 components emitted to reference/ RFC: CONTRIBUTOR-DOCS/rfcs/proposed/2026-04-22-docs-overhaul-v2.md
|
There was a problem hiding this comment.
moved not deleted
There was a problem hiding this comment.
moved not deleted
There was a problem hiding this comment.
moved not deleted
|
LIke i mentioned in the announcement, dont be intimidated by this PR, its purely reorganizing files in to the new directories that are audience based. no edits were made to content, only links were updated to the new file paths/names. A lot of files are renamed to remove the |
The generated .mdx for the docs-overhaul-v2 RFC failed to index in Storybook because MDX treats a few plain-prose angle-bracket constructs as JSX: - Two bare URL autolinks <https://spectrum-web-components.adobe.com/> (MDX reads `<https` as a tag and rejects `/` before the local name) - Two `<5K tokens` / `<1M tokens` comparisons (MDX rejects a digit as the start of a tag name) Rewrite the URL autolinks as `[label](url)` and switch the comparisons to plain English ("under 5K tokens"). No content-meaning change. Verified by compiling every generated MDX (129 files) through @mdx-js/mdx — 0 failures. Fixes the failing "Build and Deploy Job" check in the Preview Documentation workflow on PR #6205. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
📚 Branch Preview Links🔍 First Generation Visual Regression Test ResultsWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
Deployed to Azure Blob Storage: If the changes are expected, update the |
Summary
Restructures
CONTRIBUTOR-DOCS/around audiences —for-consumers/,for-contributors/,for-agents/,for-internals/,for-maintainers/— replacing the numeric-prefix folders (01_contributor-guides/,02_style-guide/, ...) that hard-coded order at the expense of discoverability. Every top-level entry now answers "who are you?" before "what is it?"Stack position: 7 of 7 — base is #6205 (RFC scaffolding). This is the largest PR in the stack because it renames 132 files; the diff is near-pure move/rename with cross-ref patches.
Part of the docs-overhaul-v2 rollout. See RFC:
CONTRIBUTOR-DOCS/rfcs/proposed/2026-04-22-docs-overhaul-v2.md.What changed
CONTRIBUTOR-DOCS/into audience-keyed foldersCONTRIBUTOR-DOCS/+ 55 intra-doc) so no incoming links breakupdate-nav.jsandverify-links.jsmoved tofor-contributors/authoring-contributor-docs/; the.husky/pre-commithook was patched to the new pathverify-links.jsskips/docs/paths so stable Storybook links pass throughMotivation
Numeric prefixes (
01_,02_,03_) baked sibling ordering into filenames and gave no persona signal. Audience-keyed folders map 1:1 to the four top-level Storybook sections from the persona-first sidebar (MVP-3) and set up the IA for Phase 3 of the broader plan.Related
Accessibility testing checklist
Docs-only change — renames + cross-ref patches, no behavioral changes.
🤖 Generated with Claude Code