Skip to content

Doc links comment - #172

Merged
johnnyt merged 1 commit into
mainfrom
docs/config-wording-and-changelog-link
Sep 26, 2026
Merged

johnnyt merged 1 commit into
mainfrom
docs/config-wording-and-changelog-link

Conversation

@johnnyt

@johnnyt johnnyt commented Sep 26, 2026

Copy link
Copy Markdown
Member

What changed

The comment beside the doc_links stage in .quality.exs said the stage fails on "a published relative link to a file that is not an extra". The stage reads only relative links in Markdown extras (and the README, for the package-files rule), so a relative link in a moduledoc is not its concern. The comment now says "a relative link in a Markdown extra to a file that is not itself an extra (moduledoc links are the Docs stage's)".

Only comment lines changed in .quality.exs; the stage and its options are as they were.

The changelog.d/ link in CHANGELOG.md already names v0.10.1, the latest tag, which carries changelog.d/, so it is left as it is.

Review

The comment was checked against ex_quality's ExQuality.Stages.DocLinks at 0.15.1, the version the lockfile pins: its not_an_extra rule is "a relative link in a Markdown extra whose target is not itself an extra", its moduledoc says links in moduledocs and function docs are the Docs stage's (ExQuality.Stages.Docs), and the comment's other clauses match its readme_not_packaged, duplicate_extra and rewritten_to_other_extra rules. The diff touches comment lines only and .quality.exs still parses.

The file is not in the gate's build paths, so no gate run applies (the docs-only commit row).

Review tier: gate (config comment words, no code).

Rewords the comment beside the doc_links stage in .quality.exs so it
names what the stage checks: a relative link in a Markdown extra to a
file that is not itself an extra. Links in moduledocs are the Docs
stage's, and the comment now says so. No stage or option changes.
@johnnyt
johnnyt merged commit 11c6b63 into main Sep 26, 2026
1 check passed
@johnnyt
johnnyt deleted the docs/config-wording-and-changelog-link branch September 26, 2026 13:43
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