Monday, March 02, 2020

Re: Web documentation available offline by default?

On Sat, Feb 29, 2020 at 03:36:02PM +0000, Ottavio Caruso wrote:
>
>It's also a pity the the faq are not available in a single html or pdf
>format. This would be handy for those who, like me, are studying for
>the BSD Specialist certification. Having a single document makes it
>easier to search for a specific command.

Seems to work on Linux at least: to "wget" the pages one needs, and
then "wkhtmltopdf" them to a pdf file.

Takes time to get it done nicely with the correct flags for
wkhtmltopdf - and the wget procedure might not get all pages needed,
so intervening manually might be an option to get those, too ...

On OBSD ports there's textproc/wkhtmltopdf. Didn't test the latter
tho'.

Good luck!
Wolfgang

No comments:

Post a Comment