Skip to content

Commit

Permalink
Update Optional rule
Browse files Browse the repository at this point in the history
  • Loading branch information
aireilly committed Jan 13, 2025
1 parent 3a70241 commit 3bf4a30
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .vale/styles/OpenShiftAsciiDoc/NoOptionalTitles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
extends: existence
scope: raw
level: error
nonword: true
link: https://github.com/openshift/openshift-docs/blob/main/contributing_to_docs/doc_guidelines.adoc#assembly-file-metadata
message: "Do not begin a module or assembly title with 'Optional:'."
raw:
- '(?<!\/\/\s?={1,5}) Optional:'
tokens:
- '^={1,5} Optional:'

0 comments on commit 3bf4a30

Please sign in to comment.