When I want to convert man pages to HTML files, I usually employ the groff utility. E.g., I can locate the modifyrepo man page with the find command and then cut and paste the location of the man page file after the cat command or use command substitution to take the output from the find command as input to the cat command. I then pipe the output into the groff command. But sometimes that method doesn't produce clean HTML code. An alternative means of producing an HTML file from a man page is with the man2html utility.
[ More Info ]