ANT doclet: Difference between revisions
m (→Features) |
|||
Line 4: | Line 4: | ||
[[File:antdoc-ant-contrib.png|border|500px]] | [[File:antdoc-ant-contrib.png|border|500px]] | ||
== Usage == | |||
The doclet implements the following command line options: | |||
;<code>-d</code> ''directory'' | |||
:The directory where the output files are created; defaults to ".". | |||
;<code>-windowtitle</code> ''window-title'' | |||
;<code>-doctitle</code> ''document-title'' | |||
;<code>-header</code> ''header'' | |||
;<code>-footer</code> ''footer'' | |||
;<code>-top</code> ''top'' | |||
;<code>-bottom</code> ''bottom'' | |||
;<code>-notimestamp true|<u>false</u></code> | |||
;<code>-link</code> ''url-or-file'' | |||
;<code>-linkoffline</code> ''url-or-file'' ''package-list-irk-or-file'' | |||
:Same as for the standard JAVADOC doclet | |||
;<code>-antlib-file</code> ''file'' | |||
:The antlib file of the antlib to document; defaults to "antlib.xml". | |||
;<code>-theme JAVA7|<u>JAVA8</u></code> | |||
:The style of the generated pages. | |||
== Features == | == Features == |
Revision as of 13:39, 25 May 2016
Generates (JAVADOC-like) HTML documentation for APACHE ANT antlibs.
The motivation for writing this doclet is to ease the maintenance of the documentation for the Ant-contrib.unkrig.de antlib:
Usage
The doclet implements the following command line options:
-d
directory- The directory where the output files are created; defaults to ".".
-windowtitle
window-title-doctitle
document-title-header
header-footer
footer-top
top-bottom
bottom-notimestamp true|false
-link
url-or-file-linkoffline
url-or-file package-list-irk-or-file- Same as for the standard JAVADOC doclet
-antlib-file
file- The antlib file of the antlib to document; defaults to "antlib.xml".
-theme JAVA7|JAVA8
- The style of the generated pages.
Features
Grouping of subelements
Subelement adder methods ("add*()
", "addConfigured*()
" and "create*()
") can have a "@ant.group
group-name" block tag in their DOC comment. If at least one subelement adder method has such a block tag, then the subelements are grouped by group-name, and each group gets a respective heading, and the subelements without a @ant.group
go into a group "Other".
For an example, see the documentation of the <zzfind> ANT task, and the source code.
Resources
The doclet JAR file is here.
The change log is here.
Find the source code for the doclet here.