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)
Fri, Oct 3, 8:14 PM
Unknown Object (File)
Sep 16 2025, 11:10 PM
Unknown Object (File)
Sep 4 2025, 12:10 PM
Unknown Object (File)
Jun 28 2025, 1:15 PM
Unknown Object (File)
Jun 27 2025, 10:19 AM
Unknown Object (File)
Jun 25 2025, 4:22 AM
Unknown Object (File)
Jun 23 2025, 2:56 AM
Unknown Object (File)
Jun 21 2025, 3:10 PM
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