File tree Expand file tree Collapse file tree 4 files changed +31
-0
lines changed
fixtures/OpenShiftAsciiDoc/HeadingsAlphanumeric Expand file tree Collapse file tree 4 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ ; Vale configuration file to test the `HardWrappedLines` rule
2+ StylesPath = ../../../styles
3+ MinAlertLevel = error
4+ [*.adoc]
5+ OpenShiftAsciiDoc.HeadingsAlphanumeric = YES
Original file line number Diff line number Diff line change 1+ //vale-fixture
2+ = Don't Use: Special Characters in Headings
3+
4+ //vale-fixture
5+ == No @Symbols! Here
6+
7+ //vale-fixture
8+ == No periods.
Original file line number Diff line number Diff line change 1+ //vale-fixture
2+ = Valid Headings with Alphanumeric Characters Only
3+
4+ //vale-fixture
5+ == Exceptions include attribute references like {product-name}
6+
7+ == Also allow single quotes even though we don't like them
8+
9+ == And `backticks` are allowed too even though I cannot remember if we allow them in the style guide
Original file line number Diff line number Diff line change 1+ ---
2+ extends : existence
3+ scope : raw
4+ level : error
5+ link : https://github.com/openshift/openshift-docs/blob/main/contributing_to_docs/doc_guidelines.adoc#anchoring-in-module-files
6+ message : " Headings should only contain alphanumeric characters."
7+ nonword : true
8+ tokens :
9+ - " ^=+\\ s+.*[^a-zA-Z0-9\\ s\\ {\\ }'`-].*$"
You can’t perform that action at this time.
0 commit comments