Keep commit, PR and ticket references out of a doc body
Rule docs-discipline.history-internal-reference in the Docs discipline category.
| Field | Value |
|---|---|
| Kind | pattern |
| Severity | warning |
| Scope | prose |
Profile strict |
enforced |
Profile normal |
enforced |
Profile relaxed |
excluded |
Message
Section titled “Message”internal history reference: <match> – state the behaviour; the tracker and the log carry the origin
State the behaviour. Move the commit, PR or ticket pointer to the change note or the tracker.
Examples
Section titled “Examples”Example 1: flagged
Section titled “Example 1: flagged”The retry loop landed in commit 3f9a2c1 after the outage.Rewrite:
The retry loop waits 200 ms between attempts.Example 2: flagged
Section titled “Example 2: flagged”Timeouts now apply to every call (PR 482).Rewrite:
Timeouts apply to every call.Example 3: flagged
Section titled “Example 3: flagged”The cache key changed because of PLAT-1042.Rewrite:
The cache key includes the tenant ID.Example 4: flagged
Section titled “Example 4: flagged”The importer skips bad rows, see issue #596.Rewrite:
Clients issue 100 requests per second.Example 5: flagged
Section titled “Example 5: flagged”We refactored the loader to read from the config table.Rewrite:
The loader reads from the config table.Exceptions
Section titled “Exceptions”- quotation
Provenance
Section titled “Provenance”3.0 rule accuracy programme (slopvac-8l4.5.10)