I'm using man
along with man2html
to automatically generate some html documentation, along the lines of man manpage | man2html
. This is working well, except when I run it on Travis CI, man
is not generating the proper escape sequences to make headers and options bold. Is there a way to force man
to generate these codes?
I also took a look at using groffer --mode=tty
instead of man
, which works on my Mac, but on Linux (i.e., Travis CI), instead of generating the binary ANSI codes that man2html
can read, it generates plain-text codes, like [1m
.