昨天看Derby源码的时候发现他不仅有source code,还有doc-src,惊奇,点进去一看全是dita文件,愕然。
看了官方网站的说明才知道这是一种专门用于生成文档的格式。DITA在一个SF上的开源项目DITA Toolkit,本身也算是一种XML格式,全称Darwin Information Typing Architecture.
引自官方介绍:
The DITA OASIS Standard defines an XML architecture for designing, writing, managing, and publishing technical documentation in print and on the Web. DITA (commonly pronunced dit'-uh) builds content reuse into the authoring process for document creation and management.
原来是一种专门的文档格式。看了Derby关于这部分的文档得知,可以用ant结合DITA Open Toolkit对众多的dita文件进行操作,声称PDF/HTML/Monohtml等格式的文档。不过我试过之后都是out of memory,看来这个操作可能还要比较大的内存需要。也罢。
原来我一直以为像Spring那样的提供多种格式的文档的项目是他们专门编辑的,看到DITA才发现自己很傻很天真,看来自动化真是无处不在。希望以后能够有机会尝试一下这个工具。

