Currently I'm in a situation where I'd like to add documentation support for my code using Doxygen. I've downloaded and installed the program and I have all of my .cls files in a single folder.

I am currently running the Doxygen source search directly in the file. I have also added .cls to the files to search. However when I run Doxygen, all of my pages are like so:

enter image description here

Completely empty. It doesn't sanitize the code (remove comments, highlight, etc.), and documentation indicators do not work even though the source is documentable, and commented such that it should be parsed. How does one set up Doxygen to properly interpret and generate documentation?

  • 7
    Might be worth looking into ApexDoc, as well as this meta thread. Aug 8, 2016 at 18:18
  • It's an old question, but this other question on using Doxygen w/Apex may contain your answers.
    – Derek F
    Aug 8, 2016 at 18:42
  • @DerekF all I find there is 1 answer and a bunch of people telling the OP how good the other platform is
    – tuskiomi
    Aug 8, 2016 at 19:16
  • 3
    @tuskiomi The takeaway I got from it was that while Apex is a Java-like language, it is different enough that Doxygen can't really handle it.
    – Derek F
    Aug 8, 2016 at 19:47


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.