Skip to content

docs: fix broken and malformed links in contributing and package docs - #38373

Open
ZayanKhan-12 wants to merge 1 commit into
aws:mainfrom
ZayanKhan-12:docs-fix-broken-links
Open

docs: fix broken and malformed links in contributing and package docs#38373
ZayanKhan-12 wants to merge 1 commit into
aws:mainfrom
ZayanKhan-12:docs-fix-broken-links

Conversation

@ZayanKhan-12

@ZayanKhan-12 ZayanKhan-12 commented Jul 22, 2026

Copy link
Copy Markdown

Issue # (if applicable)

Closes #38374.

Reason for this change

A mechanical link audit (resolving every relative markdown link against the filesystem, plus malformed-syntax detection) found 7 broken or malformed links in repo and package documentation. Details in the linked issue.

Description of changes

  • ROADMAP.md[change]((https://...32010)) double parentheses render the link broken → single parentheses
  • CONTRIBUTING.md[default in new CDK TS-based apps]([url](https://...7475)) nested-bracket link renders as literal text → plain link; the cloud-assembly-schema CONTRIBUTING link points at ./packages/@aws-cdk/cloud-assembly-schema/, which no longer exists in this repo (package moved to aws/aws-cdk-cli) → GitHub URL
  • docs/NEW_CONSTRUCTS_GUIDE.md[Construct Hub](constructs.dev) bare-domain link resolves as a relative path and 404s → https://constructs.dev
  • packages/aws-cdk-lib/assertions/MIGRATING.md[Migration Script](migration-script) missing the # anchor for the in-page heading
  • packages/aws-cdk-lib/cloud-assembly-schema/README.md — two links to ./schema/cloud-assembly.schema.json; the schema directory only exists in aws-cdk-cli → GitHub URL (file verified to exist there)

Not touched: a CONTRIBUTING.md reference to tools/@aws-cdk/cdk-build-tools/config/eslintrc.js, which no longer exists — I couldn't determine the successor location with confidence.

Describe any new or updated permissions being added

None — documentation only.

Description of how you validated changes

Docs-only; each new target verified to exist (filesystem for relative links, GitHub API for cross-repo links). Re-ran the link audit: no remaining broken links in the touched files.

Checklist

🤖 Generated with Claude Code

- ROADMAP.md: double-parenthesized issue link rendered broken
- CONTRIBUTING.md: nested-bracket [url](...) link rendered as literal
  text; cloud-assembly-schema CONTRIBUTING link pointed at the old
  in-repo path (the package moved to the aws-cdk-cli repository)
- docs/NEW_CONSTRUCTS_GUIDE.md: bare-domain constructs.dev link
  resolved as a relative path
- assertions/MIGRATING.md: Migration Script link missing the # anchor
- cloud-assembly-schema/README.md: schema JSON links pointed at
  ./schema/, which only exists in the aws-cdk-cli repository

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

🤖 Agent Docs Sync Reminder

This PR modifies human-facing documentation that has corresponding agent-facing docs.
Please check whether the following agent-facing files need matching updates:

  • AGENTS.md
  • docs/AGENTS_CONSTRUCT_DESIGN.md
  • docs/AGENTS_CONSTRUCT_IMPLEMENTATION.md

If you consider no agent-facing changes are needed, leave a comment explaining why
and a maintainer will remove the agent-docs-review-needed label.

@github-actions github-actions Bot added agent-docs-review-needed beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK labels Jul 22, 2026
@aws-cdk-automation
aws-cdk-automation requested a review from a team July 22, 2026 17:28
@ZayanKhan-12

Copy link
Copy Markdown
Author

Re the Agent Docs Sync Reminder: no agent-facing changes needed — this PR only corrects link targets (typos, moved files) in human-facing docs; no process or content described in AGENTS.md / docs/AGENTS_CONSTRUCT_*.md is affected.

@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Jul 28, 2026
@aws-cdk-automation aws-cdk-automation added pr/community-review-timeout pr/needs-maintainer-review This PR needs a review from a Core Team Member and removed pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. labels Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-docs-review-needed beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2 pr/community-review-timeout pr/needs-maintainer-review This PR needs a review from a Core Team Member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: broken and malformed links in ROADMAP, CONTRIBUTING, and package docs

2 participants