Skip to content

docs(site): add codemod 0005 to file layout in codemods reference#1559

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
docs/codemods-file-layout-fix-1c08fe097d6e8433
Draft

docs(site): add codemod 0005 to file layout in codemods reference#1559
github-actions[bot] wants to merge 1 commit into
mainfrom
docs/codemods-file-layout-fix-1c08fe097d6e8433

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

  • The "File layout" tree in the Adding a codemod section of codemods.mdx listed only files 00010004, but 0005_drop_build_attachment_allowed_build_ids.rs was added to the source tree in v0.42.0. A contributor following the reference to write a new codemod would count the existing files, see a mismatch with the "Registered codemods" table directly above, and lose confidence in the doc.

Changes

  • site/src/content/docs/reference/codemods.mdx — added 0005_drop_build_attachment_allowed_build_ids.rs to the file layout tree; also aligned comment column spacing so the tree is easier to scan.

Accuracy checks

Validation

  • cd site && npm run build:astro — 38 pages built, all internal links valid.

Created by the docs-writer workflow.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • cdn.playwright.dev

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "cdn.playwright.dev"

See Network Configuration for more information.

Generated by Docs Writer · 246.3 AIC · ⌖ 11.8 AIC · ⊞ 7.7K ·

The 'Adding a codemod' file layout tree still listed only 0001-0004 even
though 0005_drop_build_attachment_allowed_build_ids.rs was added to the
source tree (and already appeared in the Registered codemods table).
The contributor contract says the layout tree should mirror the actual
directory, so a new contributor counting files would see a mismatch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot mentioned this pull request Jul 18, 2026
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.

0 participants