Skip to content

chore: markdownlint --fix sweep (auto-fixable violations only) - #1245

Merged
KeitaW merged 2 commits into
mainfrom
chore/markdownlint-autofix
Sep 1, 2026
Merged

KeitaW merged 2 commits into
mainfrom
chore/markdownlint-autofix

Conversation

@KeitaW

@KeitaW KeitaW commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Purpose

Post-reorg cleanup promised in #1119: run markdownlint-cli2 --fix once so the linter becomes actionable for contributors (the config was right-sized in #1119; this clears the mechanical backlog).

Changes

  • Auto-fixes only: blanks around headings/fences/lists, trailing whitespace, hard tabs, consistent list markers, bare-URL wrapping, heading spacing and trailing punctuation. 160 files.
  • 1.architectures/ excluded — the retained LifecycleScripts trees stay byte-identical to what the HyperPod console consumes, and base-config is CODEOWNERS-gated.
  • No prose, command, path, or rendering changes. Heading-punctuation removal is GitHub-anchor-invariant (the slugger strips punctuation); no in-repo links target affected anchors.

Violations: 2,612 → 590 (remainder needs human judgment: code-fence languages, single-title, emphasis-as-heading — future follow-up).

Test Results

docs-only

Checklist

  • I have read the contributing guidelines.
  • I am working against the latest main branch.
  • I have searched existing open and recently merged PRs to confirm this is not a duplicate.
  • Test Results above contain e2e evidence from a real AWS run (or this PR is marked docs-only).

Mechanical auto-fixes only (blank lines around headings/fences/lists,
trailing whitespace, hard tabs, consistent list markers, bare-URL
wrapping, heading spacing/trailing punctuation). Violations drop from
2,612 to 590; the remainder needs human judgment (MD040 code-fence
languages, single-title, emphasis-as-heading) and is left for follow-ups.

- 1.architectures/ excluded: the retained LifecycleScripts trees stay
  byte-identical to what the HyperPod console consumes, and base-config
  is CODEOWNERS-gated.
- Heading punctuation removal does not change GitHub anchors (the slugger
  strips punctuation), verified against all in-repo anchor links.
markdownlint's tab fix replaces each hard tab with a single space. For the
tab-indented fenced blocks under ordered-list items here, that dropped the
indentation below the 3 columns (marker width) CommonMark requires to keep
a block inside a list item, splitting the numbered lists. Re-indent the
fences and their content to exactly 3 spaces — the marker-width offset the
GFM parser strips — so rendering and copy-paste match the pre-sweep state.
Only file in the sweep with tab-indented fences.
@KeitaW
KeitaW merged commit 8c4c926 into main Sep 1, 2026
13 checks passed
@KeitaW
KeitaW deleted the chore/markdownlint-autofix branch September 1, 2026 01:49
dmvevents added a commit to dmvevents/awsome-distributed-ai that referenced this pull request Sep 1, 2026
…/fences/lists)

Conform the sample's README + benchmarks/README to the repo markdownlint
ruleset, matching the repo-wide sweep in awslabs#1245. Whitespace-only: blank lines
inserted around headings (MD022), fenced code blocks (MD031), and lists
(MD032). Verified `git diff --ignore-blank-lines` is empty — zero content
change. `markdownlint-cli2 examples/inference/vllm/deepep-v2-efa/**/*.md`
reports 0 errors.

Signed-off-by: Anton Alexander <dmvevents@gmail.com>
dmvevents added a commit to dmvevents/awsome-distributed-ai that referenced this pull request Sep 2, 2026
Run the repo's documented markdown gate (`npx markdownlint-cli2`, root
.markdownlint.jsonc) against the migrated folder. The files were already
failing that gate before this branch touched them:

- blanks-around headings/fences/lists (MD022/MD031/MD032) throughout the
  README and benchmarks/README — auto-fixed (27 fixes), same class as the
  repo-wide sweep in awslabs#1245.
- README.md: an inline "libfabric #12591" issue-ref had wrapped so `#12591`
  started a line, which GitHub renders as an H1 mid-paragraph (MD025 multiple
  H1 + MD022 + MD026 trailing punctuation + MD001 heading-increment). Reflowed
  the wrap so the ref stays inline (matching the sibling `#1701`/`#1311` refs);
  fixes the render and clears all four rules.

No content change beyond the reflow; `npx markdownlint-cli2` now exits clean.

Signed-off-by: Anton Alexander <dmvevents@gmail.com>
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