Generate PDF/HTML from Doxygen's Docbook Output

2.2k Views Asked by At

Doxygen 1.8.4 included a patch which adds Docbook support. This can be enabled via GENERATE_DOCBOOK. I've tried it with an existing code base and I am able to generate a docbook directory containing xml files.

  • How can I generate a PDF file from that output?
  • How can I view the docbook output in a web browser? This question may not be relevant if the content will be identical to the standard doxygen output, but I'm curious.
2

There are 2 best solutions below

0
On

The Dockbook specialization contains many XSL conversions including HTML and XSL FO to obtain PDF. I would suggest searching Docbook and download these.

7
On

A simple way:

  • Install Eclipse
  • Go to Eclipse Marketplace, search for docbook and install DEP4E from there
  • Create DocBook project
  • Replace the existing docbook with yours
  • Run build.xml - Ant will ask you in which formats to publish the book. Choose PDF.