Help

End of last year I wrote about my first proof-of-concept with AuthorDoclet, a documentation tool I've been working on. It took me a while to get it into shape for a first release and I also had to make some conceptual changes once it was mature enough to compile its own manual.

What surprised me was how well that worked and how handy it is to have tested documentation examples. I frequently had to go back and make changes to a code snippet and it was a real timesaver to edit it in one place only, the actual runnable unit test. I also tried to implement and use features such as inline images, tables, automatic chapter/section numbering, automatic generation of a Table Of Contents etc. No problems so far and except for code example callouts (the numbered bullets inside code snippets you often see in books), I've all the features my older Docbook XML based toolchain provided.

So if you have to document some testable Java software, try the attached alpha release[1]. The code is still quite raw but I'm happy with the overall design of pipelines, processors, readers, etc. There is almost no documentation inside the core code though, I'll add that next. If you'd like to write an improved TOC generator or anything else that fits, you are more than welcome.

3 comments:
 
01. Jun 2010, 15:45 CET | Link

This looks incredibly useful. I can definitely see use for it in Hibernate's docs. Is the attachment here the latest still?

ReplyQuote
 
02. Jun 2010, 09:09 CET | Link

The current release which is quite a bit better than the attachment is here: http://www.teleal.org/projects/lemma/

Beware that Emmanuel told me about some bug on the Linux JDK with Javadoc classes not being visible or something. I will have to investigate this, I've only been using it on OS X.

 
24. Jan 2011, 15:53 CET | Link

Just had a read through of the code.... Very clever

Post Comment