NetBSD Problem Report #59238
From www@netbsd.org Mon Mar 31 00:04:30 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 1C0CF1A9239
for <gnats-bugs@gnats.NetBSD.org>; Mon, 31 Mar 2025 00:04:30 +0000 (UTC)
Message-Id: <20250331000428.DED421A923E@mollari.NetBSD.org>
Date: Mon, 31 Mar 2025 00:04:28 +0000 (UTC)
From: esp@iki.fi
Reply-To: esp@iki.fi
To: gnats-bugs@NetBSD.org
Subject: mandoc(1) man page inaccuracies re: style sheet file
X-Send-Pr-Version: www-1.0
>Number: 59238
>Category: misc
>Synopsis: mandoc(1) man page inaccuracies re: style sheet file
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 31 00:05:00 +0000 2025
>Originator: Erno Palonheimo
>Release: 10.1
>Organization:
>Environment:
NetBSD erikoistietokone 10.1 NetBSD 10.1 (ERIKOISTIETOKONE) #2: Mon Mar 24 20:37:08 EET 2025 esp@erikoistietokone:/usr/src/sys/arch/evbarm/compile/ERIKOISTIETOKONE evbarm
>Description:
The man page for mandoc(1) states that the stylesheet documenting the classes for HTML output can be found at /usr/share/misc/mandoc.css, but the actual path to the file seems to be /usr/share/man/style.css.
>How-To-Repeat:
Open mandoc(1) man page, search for 'css' and try to open the file mentioned.
>Fix:
# ex /usr/src/external/bsd/mdocml/dist/mandoc.1
mandoc.1: unmodified: line 2270
:%s,/usr/share/misc/mandoc.css,/usr/share/man/style.css,g
.Dl $ mandoc \-T html -O style=/usr/share/man/style.css mdoc.7 > mdoc.7.html
:w
mandoc.1: 2270 lines, 55057 characters
:q
...and rebuild.
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.