Is it possible to add Google Analytics to the HTML files generated by doxygen dynamically (e.g. in the Doxyfile) at the time they are auto-created? Can someone give an example of how this could be done from within the GUI or from within the Doxyfile?
Notes: As pointed out in the Doxygen documentation for the ALIAS tag, you can put \n's in the value part of an alias to insert newlines. Ok, although the build people are going to complain that I'm wasting my time and their with minutiae rather than doing actual work...
Doxygen (/ˈdɒksidʒən/ DOK-see-jən) is a documentation generator and static analysis tool for software source trees. When used as a documentation generator, Doxygen extracts information from specially-formatted comments within the code.
Assuming the same HTML code needs to be added to each of the generated HTML files, you could replace Doxygen header using the HTML_HEADER
option on the Doxyfile:
HTML_HEADER= = header.html
Doxygen can generate an initial header.html using the following command:
doxygen -w html <header> <footer> <stylesheet>
Where <header>
, <footer>
and <stylesheet>
are the filenames that should be generated for the respective components.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With