Page MenuHomeFreeBSD

vale/styles: Add BlockIgnore for [.programlisting]
ClosedPublic

Authored by bofh on Apr 19 2023, 7:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 8, 12:05 AM
Unknown Object (File)
Tue, Mar 31, 6:16 AM
Unknown Object (File)
Mon, Mar 30, 6:01 AM
Unknown Object (File)
Sun, Mar 29, 12:38 AM
Unknown Object (File)
Thu, Mar 12, 11:31 AM
Unknown Object (File)
Wed, Mar 11, 11:31 AM
Unknown Object (File)
Mar 11 2026, 4:04 AM
Unknown Object (File)
Mar 6 2026, 10:35 AM
Subscribers
None

Details

Summary

In some older documents there are code snippets with the following tags which are non standard for asciidoc:

[.programlisting]
....
CODE
....

As this is non-standard vale does not escape this and finds spelling error but these blocks should be ignored by vale. This patch adds relevant directives to ignore the blocks.

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bofh requested review of this revision.Apr 19 2023, 7:13 PM
bofh created this revision.

Thanks, yes, this comes from Docbook, a CSS style

This revision is now accepted and ready to land.Apr 19 2023, 7:17 PM