Skip to content

Lint all markdown files and extend the release documentation - #292

Merged
igoropaniuk merged 4 commits into
linux-msm:masterfrom
igoropaniuk:chore/markdownlint-all
Jul 21, 2026
Merged

Lint all markdown files and extend the release documentation#292
igoropaniuk merged 4 commits into
linux-msm:masterfrom
igoropaniuk:chore/markdownlint-all

Conversation

@igoropaniuk

Copy link
Copy Markdown
Contributor

Documentation housekeeping in four small steps:

  • scripts: lint every tracked markdown file - the markdown-lint wrapper named README.md and docs/ explicitly, so AGENTS.md, CONTRIBUTING.md and RELEASING.md were never linted. The file list now comes from git ls-files '*.md', picking up new documents automatically. Two documented exclusions: CHANGELOG.md (generated by the release flow; long release-note URLs and per-release repeated headers are part of the format) and CLAUDE.md (a symlink to the already-linted AGENTS.md).
  • doc: fix markdown lint findings in AGENTS.md and RELEASING.md - the findings the wider net caught: a missing blank line around a code fence, and the RELEASING table of contents flattened (its single top-level entry only repeated the document title).
  • doc: document stable branch maintenance in RELEASING.md - the kernel-style qdl-X.Y.y stable branches: cut the branch from the release tag right after tagging, backport master-first fixes with cherry-pick -x via stable-targeted PRs (CI runs on those unchanged), and cut point releases (vX.Y.Z) from the branch using the normal release flow.
  • README: replace non-ASCII punctuation - a typographic apostrophe and em dashes that slipped into the WSL2 section; project documentation is plain ASCII per AGENTS.md.

@igoropaniuk
igoropaniuk requested a review from a team as a code owner July 19, 2026 14:51
@igoropaniuk
igoropaniuk force-pushed the chore/markdownlint-all branch from 2dff98f to ac8d282 Compare July 20, 2026 07:18

@quic-kdybcio quic-kdybcio left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The release process updates look good

Comment thread .checkpatch.conf Outdated
# Signed-off-by example (AGENTS.md), whose $(git config ...)
# placeholders are flagged as unrecognized addresses. Missing
# sign-offs are still enforced through MISSING_SIGN_OFF.
--ignore BAD_SIGN_OFF

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we scope this to the offending file only?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or is this still an issue now that you moved it into a comment?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just dropped that line from AGENTS.md

Preparation for linting every markdown file in the tree: surround the
sign-off example in AGENTS.md with the blank lines the linter wants,
and flatten the RELEASING.md table of contents - its single top-level
entry only repeated the document title, and the nested indentation
tripped the linter's list-indent rule under kramdown.

While at it, replace the literal Signed-off-by example with the
'git commit -s' command that produces it. checkpatch validates
anything shaped like a signature tag on any patch line - added,
removed and context lines alike - so any patch touching these lines
trips 'Unrecognized email address' on the $(git config ...)
placeholders. Documenting the command instead keeps trailer-shaped
text out of the file entirely, with no checkpatch exceptions needed.

Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
The markdown lint wrapper names README.md and docs/ explicitly, so
documents like AGENTS.md, CONTRIBUTING.md and RELEASING.md have never
been linted and accumulated findings silently.

Derive the file list from git ls-files instead, excluding
CHANGELOG.md - generated by the release process, where long
release-note URLs and per-release repeated section headers are part
of the format - and CLAUDE.md, a symlink to the already-linted
AGENTS.md. New documents are picked up automatically.

Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
Describe the kernel-style stable branches (qdl-X.Y.y) agreed for
shipping urgent fixes independently of master: cut the branch from
the release tag immediately after tagging, backport fixes that landed
on master with cherry-pick -x through stable-targeted pull requests
(CI runs on those unchanged), and cut point releases (vX.Y.Z) from
the branch with the same flow as a normal release.

Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
The WSL2 section carries a typographic apostrophe and em dashes;
project documentation is plain ASCII (see AGENTS.md). Replace them
with their ASCII equivalents.

Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
@igoropaniuk
igoropaniuk force-pushed the chore/markdownlint-all branch from ac8d282 to 89bfed3 Compare July 21, 2026 12:18
@igoropaniuk
igoropaniuk merged commit e0ad540 into linux-msm:master Jul 21, 2026
13 of 14 checks passed
@igoropaniuk
igoropaniuk deleted the chore/markdownlint-all branch July 21, 2026 12:23
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.

2 participants