Closed felicitymay closed 5 years ago
This appears to be a bug with the NLP library Vale uses: words like 'Top-level' aren't split into two tokens, so 'Top-Level' becomes the expected capitalized form.
I'll fix this in the next release of Vale, which I should get out in a day or two.
That sounds great. Many thanks for looking into this so quickly. I really appreciate it.
Regarding the colon followed by a capital letter, is this expected to be flagged up as wrong?
Regarding the colon followed by a capital letter, is this expected to be flagged up as wrong?
I think it depends on the style—e.g., Microsoft says no, while Google says yes (even though they both want sentence-cased headings).
The goal here should be to make this configurable at the rule level, I suppose.
I'm setting up Vale to run some of these Microsoft rules as an automated Jenkins test for our Sphinx documentation and it's mostly working beautifully. I'm a little puzzled by the output for some of the headings. For example:
Gives the following output:
As far as I can tell, all of these headings use sentence case already. Is there anything that I could change or configure to stop it flagging these headings?