1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

add vale DITA rule

This commit is contained in:
Jesse Dohmann
2025-07-30 12:44:46 -07:00
parent 7cf63eac2f
commit fa646deb11
2 changed files with 5 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
@@ -13,6 +13,9 @@ BasedOnStyles = RedHat, AsciiDoc, OpenShiftAsciiDoc
# Disabling rules (NO)
RedHat.ReleaseNotes = NO
# Enabling certain DITA rules (YES)
AsciiDocDITA.AdmonitionTitle = YES
# Use local OpenShiftDocs Vocab terms
Vale.Terms = YES
Vale.Avoid = YES