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, Jan 17, 2:14 PM
Unknown Object (File)
Jan 9 2025, 7:39 PM
Unknown Object (File)
Dec 4 2024, 2:08 AM
Unknown Object (File)
Nov 21 2024, 6:36 AM
Unknown Object (File)
Oct 30 2024, 2:09 PM
Unknown Object (File)
Oct 29 2024, 5:39 PM
Unknown Object (File)
Oct 23 2024, 4:47 PM
Unknown Object (File)
Oct 14 2024, 7:36 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