From 0bd97c0deec5829b73b17d009d74fc0346e8d3f2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 5 May 2023 14:49:36 -0400 Subject: Run mandoc with strict errors --- doc/meson.build | 9 ++++++++- doc/serdi.1 | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/meson.build b/doc/meson.build index c57751a2..9366e8a0 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -46,7 +46,14 @@ if mandoc.found() 'serdi.html', build_by_default: true, capture: true, - command: [mandoc, '-Thtml', '-Werror', '-O', 'style=mandoc.css', '@INPUT@'], + command: [ + mandoc, + '-Kutf-8', + '-Ostyle=mandoc.css,man=%N.html', + '-Thtml', + '-Wwarning,stop', + '@INPUT@', + ], input: files('serdi.1'), output: 'serdi.html', ) diff --git a/doc/serdi.1 b/doc/serdi.1 index f9520892..f3e42756 100644 --- a/doc/serdi.1 +++ b/doc/serdi.1 @@ -1,5 +1,5 @@ -.\" # Copyright 2011-2022 David Robillard -.\" # SPDX-License-Identifier: ISC +.\" Copyright 2011-2022 David Robillard +.\" SPDX-License-Identifier: ISC .Dd April 30, 2023 .Dt SERDI 1 .Os Serd 0.31.5 -- cgit v1.2.1