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)
Mar 7 2024, 4:07 PM
Unknown Object (File)
Jan 14 2024, 11:33 PM
Unknown Object (File)
Dec 22 2023, 11:36 PM
Unknown Object (File)
Dec 15 2023, 6:28 AM
Unknown Object (File)
Jul 7 2023, 1:58 PM
Unknown Object (File)
Jun 20 2023, 5:51 PM
Unknown Object (File)
May 5 2023, 3:34 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