Skip to content

docs-lint: rule f checks the ADR shape the umbrella requires - #125

Merged
brunogbv merged 1 commit into
mainfrom
feat/docs-lint-adr
Oct 15, 2026
Merged

brunogbv merged 1 commit into
mainfrom
feat/docs-lint-adr

Conversation

@brunogbv

Copy link
Copy Markdown
Collaborator

The umbrella's docs build fails on an ADR whose file name is not NNNN-.md, whose
H1 is not "# ADR-NNNN: ", or that has no "| Status |" row, and on a
hand-written adr/index.md or README.md. No repo checked this before merging; marola-ml
merged "# ADR 0001:" headings and the build broke. docs-lint now reports the same
checks, with the umbrella's patterns and wording, so every repo's gate catches it.

Closes #124

Tested: python3 scripts/docs_lint.py --self-test ok (red first); docs-lint on marola-ml b48d669 gives 3 (f) findings, on add187c and marola-app main clean; devkit-quality.sh == quality rc=0
Co-Authored-By: Claude [email protected]

The umbrella's docs build fails on an ADR whose file name is not NNNN-<slug>.md, whose
H1 is not "# ADR-NNNN: <decision>", or that has no "| **Status** |" row, and on a
hand-written adr/index.md or README.md. No repo checked this before merging; marola-ml
merged "# ADR 0001:" headings and the build broke. docs-lint now reports the same
checks, with the umbrella's patterns and wording, so every repo's gate catches it.

Closes #124

Tested: python3 scripts/docs_lint.py --self-test ok (red first); docs-lint on marola-ml b48d669 gives 3 (f) findings, on add187c and marola-app main clean; devkit-quality.sh == quality rc=0
Co-Authored-By: Claude <[email protected]>
@brunogbv
brunogbv merged commit 35c21ba into main Oct 15, 2026
8 checks passed
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.

docs-lint checks the ADR shape the umbrella requires (file name, "# ADR-NNNN:" heading, Status row)

1 participant