Skip to content

Commit f851095

Browse files
fix: Ignore rst code blocks
1 parent fe70d64 commit f851095

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/.vale.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ Vocab = ANSYS
2929
BasedOnStyles = Vale, Google
3030
Vale.Terms = NO
3131
Google.Headings = NO
32-
BlockIgnores = ```[a-z]*[\s\S]*?\n```
33-
32+
BlockIgnores = ```[a-z]*[\s\S]*?\n```, \
33+
::\s*\n\s*(.*\n)*?\n(?=\S), \
34+
\.\. code-block::.*?\n(.*\n)*?\n(?=\S)
3435
TokenIgnores = \(\/.*?\), \
3536
{%.*?%}, \
3637
{{.*?}}, \

0 commit comments

Comments
 (0)