NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/59238: mandoc(1) man page inaccuracies re: style sheet file



>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.



Home | Main Index | Thread Index | Old Index