On Sun, Dec 24, 2023 at 05:25:55AM -0800, Paul Pace wrote: > I have this vague memory of reading someone who posted a script, IIRC, to > convert the system's man pages to HTML, or similar, into somewhere under > /var/www and the pages worked just like the highly useful man.openbsd.org, > and not like the plain text pages that everyone always posts to their > websites. > > Does someone happen to know where that is?
Not a script, but there are instructions in the lower half of usr.bin/mandoc/Makefile and you can read the man.cgi manual with $ mandoc -a usr.bin/mandoc/man.cgi.8 https://github.com/openbsd/src/blob/master/usr.bin/mandoc/Makefile#L43-L77