1
0
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:
Jesse Dohmann
2025-09-04 12:39:30 -07:00
committed by openshift-cherrypick-robot
parent 613fa1723c
commit 88518e16a5
3 changed files with 14 additions and 1 deletions

1
.gitignore vendored
View File

@@ -18,3 +18,4 @@ commercial_package
.vale/styles/AsciiDoc
.vale/styles/OpenShiftAsciiDoc
.vale/styles/RedHat
.vale/styles/AsciiDocDITA/

View File

@@ -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

View File

@@ -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