So what do people use for documenting the source code?

So what do people use for documenting the source code?

I'm used to Doxygen from C++. I see there is a pas2dox converter but I'm curious if there are better options out there.

I'd like to comment my code in-line, and then generate html documentation (at least) based on this.

Comments

  1. Documentation? What's that? Real programmers just read the source :-P

    ReplyDelete
  2. docomatic is good tool but very expencive

    ReplyDelete
  3. Heh, yeah there's that.
    I see Documentation Insight is integrated in the IDE and shows the documentation when hovering over symbols, which is nice. However I'll need the Enterprise version to generate HTML documentation...

    ReplyDelete
  4. I always used to use Help&Manual - now Help&Doc (I believe) to generate help systems - it was really good because you could output in a large number of formats and produced a decent printed result too.  Highly recommend.

    ReplyDelete
  5. Paul Foster Seems nice, but also seems to work the opposite way? I'd like to keep the documentation in the source code, then generate stand-alone docs based on that.

    ReplyDelete
  6. You really should consider Documentation Insight. Even the Enterprise version is reasonably priced. The IDE integration alone (available already with the free edition) makes a huge difference. I use it together with Help&Manual, but you can even achieve good results without it.

    ReplyDelete
  7. Uwe Raabe At this time, 250 EUR a bit steep for a hobby project. Having played with it for a bit now, it does look nice and the integrated IDE help is enough for me to start using it.

    I would buy it in an instant if HTML output had been in the Pro edition. Not sure why they think that's an Enterprise level feature but oh well.

    ReplyDelete
  8. I like fpdoc's approach. It parses the source but also uses a separate documentation file for comments that would otherwise clutter the source. Too bad there isn't a Delphi port.

    ReplyDelete
  9. Kenneth Cochran Documentation Insight 3 will support external documentation. see http://www.devjetsoftware.com/?p=1293

    ReplyDelete
  10. Big Plus One for Documentation Insight.

    ReplyDelete
  11. Asbjørn Heid Thanks for your honest feedback about Documentation Insight. May I ask you:
    1) Will it be personal use or company use?
    2) Do you need to distribute html files to others? (Or just need to browse it in Documentation Explorer, which is live)

    ReplyDelete
  12. Baoquan Zuo The HTML docs would be for personal use. I'm writing an open-source library in my spare time at home, so would like to have stand-alone documentation.

    I've played with Documentation Insight Express at work today, and so far I like it a lot. The ability to have a panel docked which I can edit directly is great, combined with the "hoover-tips".

    ReplyDelete
  13. Asbjørn Heid Thanks for the information. We have donation program (free license) for qualified open source project. You might be interested in this:
    http://www.devjetsoftware.com/?p=1155

    ReplyDelete
  14. Baoquan Zuo Ah that sounds great. I'll send an application when the project has been fleshed out a bit more.

    ReplyDelete

Post a Comment