Change the Theme of Doxygen?

15,321

Solution 1

Doxygen allows you to set a few options that control the look of the output. generally they start with HTML_. For maximum flexibility, you can provide custom header and footer HTML, as well as a custom CSS stylesheet, via the HTML_HEADER, HTML_FOOTER and HTML_STYLESHEET options.

You can't do much to control the structure used in the main part of the page, but you can do a fair bit with the stylesheet, and as a last resort you can always add some javascript to the header that manipulates the DOM to rearrange things.

You can generate template header, footer and stylesheet files with the -w argument; and all this is documented reasonably well in the template config file generated with the -g argument.

Solution 2

The following theme allows the user to modify the color pattern, and the design is good.

https://github.com/kcwongjoe/doxygen_theme_flat_design

Share:
15,321
ApprenticeHacker
Author by

ApprenticeHacker

I try to make the internet faster.

Updated on June 23, 2022

Comments

  • ApprenticeHacker
    ApprenticeHacker about 2 years

    I don't really think the Doxygen HTML theme for documenting C code is good for documenting functions and procedures (though it is awesome for documenting OOP if using C++). So what I'm asking is can the output be changed to resemble the SDL Documentation or GTK Documentation?