Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions doc/.vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,19 @@ Google.FirstPerson = suggestion
Google.Latin = suggestion
Google.Quotes = suggestion
Google.Spacing = suggestion

; File exemptions for pages edited in Andrzej Krzemieński's voice.
; The rules stay defined in .vale/styles. These sections only stop them
; from firing on the named files. "will", "in order to", and the hyphen
; in "trivially-copyable" are correct English on those pages.
; NoFluff cannot be limited to the one token "in order to", so that whole
; check is quiet on the combined-buffers page.
[modules/ROOT/pages/5.buffers/5a.unit-buffers.adoc]
Capy.SimpleTense = NO
Google.Will = NO
Google.LyHyphens = NO

[modules/ROOT/pages/5.buffers/5b.combined-buffers.adoc]
Capy.SimpleTense = NO
Google.Will = NO
Capy.NoFluff = NO
21 changes: 9 additions & 12 deletions doc/lint/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"note": "Snapshot of current violations (Task 2, Style Guide Part F.0). Non-blocking: this records the backlog so a future comparator can flag NEW findings without failing on the ones already known about. Fingerprints are line-insensitive: the `#N` component is the Nth occurrence of that (file, message) pair, NOT a line number, so inserting text above a finding does not rename it.",
"checks": {
"vale_adoc": {
"count": 87,
"count": 83,
"skipped": false,
"fingerprints": [
"modules/ROOT/pages/2.cpp20-coroutines/2a.foundations.adoc:#1:Google.OxfordComma",
Expand All @@ -30,15 +30,11 @@
"modules/ROOT/pages/4.coroutines/4g.composition.adoc:#4:Vale.Spelling",
"modules/ROOT/pages/4.coroutines/4h.allocators.adoc:#1:Google.LyHyphens",
"modules/ROOT/pages/4.coroutines/4h.allocators.adoc:#1:Vale.Spelling",
"modules/ROOT/pages/5.buffers/5a.buffers.adoc:#1:Google.LyHyphens",
"modules/ROOT/pages/5.buffers/5a.buffers.adoc:#1:Google.OxfordComma",
"modules/ROOT/pages/5.buffers/5a.buffers.adoc:#1:Vale.Spelling",
"modules/ROOT/pages/5.buffers/5a.buffers.adoc:#2:Google.OxfordComma",
"modules/ROOT/pages/5.buffers/5a.buffers.adoc:#2:Vale.Spelling",
"modules/ROOT/pages/5.buffers/5a.buffers.adoc:#3:Vale.Spelling",
"modules/ROOT/pages/5.buffers/5a.buffers.adoc:#4:Vale.Spelling",
"modules/ROOT/pages/5.buffers/5a.buffers.adoc:#5:Vale.Spelling",
"modules/ROOT/pages/5.buffers/5a.buffers.adoc:#6:Vale.Spelling",
"modules/ROOT/pages/5.buffers/5a.contiguous-buffers.adoc:#2:Vale.Spelling",
"modules/ROOT/pages/5.buffers/5b.composite-buffers.adoc:#1:Google.OxfordComma",
"modules/ROOT/pages/5.buffers/5b.composite-buffers.adoc:#2:Vale.Spelling",
"modules/ROOT/pages/5.buffers/5b.composite-buffers.adoc:#3:Vale.Spelling",
"modules/ROOT/pages/5.buffers/5d.buffer-algo.adoc:#1:Vale.Spelling",
"modules/ROOT/pages/7.testing/7a.drivers.adoc:#1:Google.LyHyphens",
"modules/ROOT/pages/7.testing/7a.drivers.adoc:#1:Vale.Spelling",
"modules/ROOT/pages/7.testing/7a.drivers.adoc:#2:Vale.Spelling",
Expand Down Expand Up @@ -456,19 +452,20 @@
]
},
"doc_lint": {
"count": 4,
"count": 5,
"skipped": false,
"byRule": {
"A1": 0,
"A6": 0,
"B2": 0,
"SHAPE": 0,
"ANCHOR": 0,
"D2": 4
"D2": 5
},
"fingerprints": [
"D2:2.cpp20-coroutines/2.intro.adoc:#1:tutorial/concept page has no include::example$",
"D2:4.coroutines/4.intro.adoc:#1:tutorial/concept page has no include::example$",
"D2:5.buffers/5.intro.adoc:#1:tutorial/concept page has no include::example$",
"D2:6.streams/6.intro.adoc:#1:tutorial/concept page has no include::example$",
"D2:7.testing/7.intro.adoc:#1:tutorial/concept page has no include::example$"
]
Expand Down
Loading
Loading