Skip to content

Fix inconsistent rule-number heading format for rule 219 - #5

Open
simeon-kepp wants to merge 1 commit into
swiss:mainfrom
simeon-kepp:fix-rule-219-heading-brackets
Open

Fix inconsistent rule-number heading format for rule 219#5
simeon-kepp wants to merge 1 commit into
swiss:mainfrom
simeon-kepp:fix-rule-219-heading-brackets

Conversation

@simeon-kepp

Copy link
Copy Markdown

Summary

Every rule heading in the guidelines wraps its reference number in square brackets (e.g. [218], [238], [126]), except rule 219 ("MUST provide API audience"), which reads ... API audience 219 instead of ... API audience [219].

Checked every ### ... heading in the document — this is the only instance of the inconsistency.

Verification

  • The existing internal link [see rule 219](#must-provide-api-audience-219) still resolves correctly after this change, since GitHub's heading-slug algorithm strips bracket characters from anchors either way.
  • One-line change, no other content affected.

Small fix, but we noticed it while reading through the guidelines closely for our own API work and figured a real government repo deserved a real (if tiny) contribution back. 🇨🇭

Every other rule heading in the guidelines wraps its reference number
in square brackets (e.g. "[218]", "[238]", "[126]"), but rule 219
("MUST provide API audience") was missing the brackets, reading as
"... API audience 219" instead of "... API audience [219]".

This is the only such inconsistency in the document (checked against
every "### ..." heading). The existing internal anchor link to this
section (#must-provide-api-audience-219) is unaffected, since
GitHub's heading-slug algorithm strips bracket characters either way.

Co-authored-by: Laura Serna Gaviria <lsgaviria94@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