10

I've documented my code for doxygen, but I don't want the default HTML it gives. I know I can customize it by providing custom CSS, headers, footers, etc. (like GNOME does), and how I can add common PHP code to the files and tell it to save as .php, but that isn't really what I want.

What I want is output like MSDN. I can't describe it really. My question is, Is this possible using doxygen with something like templates, or do I have to output XML and parse it with another program (that I wouldn't mind writing)?

1
  • Might look into this: MSDN integration For those using Windows and wanting to integrate the compressed HTML generated by doxygen into MSDN look at this MSDN integrator utility. stack.nl/~dimitri/doxygen/helpers.html
    – user168800
    Commented Feb 21, 2015 at 2:26

1 Answer 1

7

Doxygen does not support something like HTML templates out of the box, as far as I know. You can refer to the image below (from the official doxygen homepage). It shows the input and output files that are related into the entire documentation creation workflow.

enter image description here

As you can see, doxygen reads a so called "Layout file". This file can be customized! However you are somehow restricted to the page structure, doxygen creates.

If you need more flexibility you should prefer to XSLT transform XML output. There is also an sample that shows you how to do this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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