mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
add new vale rules and sync with main
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
613fa1723c
commit
88518e16a5
1
.gitignore
vendored
1
.gitignore
vendored
@@ -18,3 +18,4 @@ commercial_package
|
||||
.vale/styles/AsciiDoc
|
||||
.vale/styles/OpenShiftAsciiDoc
|
||||
.vale/styles/RedHat
|
||||
.vale/styles/AsciiDocDITA/
|
||||
|
||||
@@ -2,7 +2,7 @@ StylesPath = .vale/styles
|
||||
|
||||
MinAlertLevel = suggestion
|
||||
|
||||
Packages = RedHat, AsciiDoc, OpenShiftAsciiDoc
|
||||
Packages = RedHat, AsciiDoc, OpenShiftAsciiDoc, https://github.com/jhradilek/asciidoctor-dita-vale/releases/latest/download/AsciiDocDITA.zip
|
||||
|
||||
Vocab = OpenShiftDocs
|
||||
|
||||
@@ -21,6 +21,12 @@ RedHat.ReleaseNotes = NO
|
||||
Vale.Terms = YES
|
||||
Vale.Avoid = YES
|
||||
|
||||
# Enable specifc DITA rules on assemblies
|
||||
AsciiDocDITA.AdmonitionTitle = error
|
||||
AsciiDocDITA.ThematicBreak = error
|
||||
AsciiDocDITA.TableFooter = error
|
||||
AsciiDocDITA.PageBreak = error
|
||||
|
||||
# Disable module specific rules
|
||||
OpenShiftAsciiDoc.ModuleContainsParentAssemblyComment = NO
|
||||
OpenShiftAsciiDoc.NoNestingInModules = NO
|
||||
|
||||
@@ -7,6 +7,12 @@ Vocab = OpenShiftDocs
|
||||
[[!.]*.adoc]
|
||||
BasedOnStyles = OpenShiftAsciiDoc, AsciiDoc, RedHat
|
||||
|
||||
# Changing severity of a rule both enables and sets it (i.e; = YES)
|
||||
AsciiDocDITA.AdmonitionTitle = error
|
||||
AsciiDocDITA.ThematicBreak = error
|
||||
AsciiDocDITA.TableFooter = error
|
||||
AsciiDocDITA.PageBreak = error
|
||||
|
||||
# Use local OpenShiftDocs Vocab terms
|
||||
Vale.Terms = YES
|
||||
Vale.Avoid = YES
|
||||
|
||||
Reference in New Issue
Block a user