Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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)?

share|improve this question
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 –  Doug Kramer Feb 21 at 2:26

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer

Your Answer


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.