Which format for API documentation programmers prefer: PDF or Web?
3rd December 2013
My answer to Which format for API documentation programmers prefer: PDF or Web? on Quora
HTML is a better format for documentation than PDF.
Documentation needs to be easy to access, easy to bookmark, easy to share links to and easy to copy and paste from.
PDFs are lousy for linking to (you can link to the whole document but not to individual sections) and frequently cause weird issues when copy and pasting.
The two advantages of PDF are that you (the author) get more control over how it prints and it’s easier for the end user to download as a single file for offline reading.
If you think these issues are important to your audience you can solve them with HTML by including a good print stylesheet and a zip file for download of all HTML and assets. You could also use a documentation system such as http://sphinx-doc.org/ which can generate both HTML and PDF versions.
More recent articles
- My AI/LLM predictions for the next 1, 3 and 6 years, for Oxide and Friends - 10th January 2025
- Weeknotes: Starting 2025 a little slow - 4th January 2025
- I still don't think companies serve you ads based on spying through your microphone - 2nd January 2025