Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have several small static websites that I want to turn into PDFs, CHMs, or a similar format. These websites are documentation generated by Ruby's RDoc tool. They have an index.html file and links to other static files all contained in directories up to two-levels deep.

I want to be able to view these docs on my iOS and Android devices. Neither of those devices will let me easily browse a static website so I think a better solution would be to turn these sites into a more supported format on my Ubuntu desktop and then transfer them to something portable.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

You should give a try to htmldoc. htmldoc will help you to convert html source files into html, postscript, or pdf

To install htmldoc use

sudo apt-get install htmldoc

You can provide a list of files/URLs as input that can be converted to PDF.

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.