On 10/06/2023 17:50, Moin Rahman wrote:
… What am I missing?I think the documentation is outdated and there is not specific linter target at the moment. The document also refers to XML Docs which we have migrated to asciidoc. Kind regards, Moin
Thanks to Moin, and to Jose Luis Duran at <https://github.com/freebsd/freebsd-src/commit/6469f9c595c609dd552ec198a16c471c87df7c57#r117412033>.
% cd /usr/src % mandoc -T lint share/man/man7/hier.7mandoc: share/man/man7/hier.7:134:104: STYLE: input text line longer than 80 bytes: users' home director...
mandoc: share/man/man7/hier.7:174:49: WARNING: new sentence, new linemandoc: share/man/man7/hier.7:237:6: STYLE: referenced manual not found: Xr pc 5 mandoc: share/man/man7/hier.7:330:6: STYLE: referenced manual not found: Xr pkg 8 (2 times) mandoc: share/man/man7/hier.7:427:6: STYLE: referenced manual not found: Xr vi 1 (2 times)
% The three manual pages do exist.How should I edit those three lines (237, 330, 427) for the linter to not give the STYLE response?
TIA
OpenPGP_signature
Description: OpenPGP digital signature