Directory groovy/groovy-core/src/main/org/codehaus/groovy/tools/groovydoc/gstring-templates/class-level/

Directory Created:
2007-03-30 23:21
Total Files:
2
Deleted Files:
0
Lines of Code:
114

Browse with ViewVC

[root]/groovy/groovy-core/src/main/org/codehaus/groovy/tools/groovydoc/gstring-templates/class-level

Lines of Code

groovy/groovy-core/src/main/org/codehaus/groovy/tools/groovydoc/gstring-templates/class-level/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 6 (100.0%) 116 (100.0%) 19.3
jez 5 (83.3%) 115 (99.1%) 23.0
paulk 1 (16.7%) 1 (0.9%) 1.0

Most Recent Commits

jez 2007-04-04 18:46

groovydoc

* added default constructors

* added java constructors

* fixed font for all classes in top frame

1 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/tools/groovydoc/gstring-templates/class-level: classDocName.html (+1 -1)
jez 2007-04-03 19:32

groovydoc

* added constructor documentation for groovy source (but not java yet).

* main page now has alphabetically sorted list of classes.

* refactored SimpleGroovyClassDocAssembler to avoid duplication of parameter handling

* moved "Generating..." message slightly earlier in the proceedings, so the template rendering is included.



29 lines of code changed in:

paulk 2007-03-31 07:44

GroovyDoc tweaks

1 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/tools/groovydoc/gstring-templates/class-level: classDocName.html (+1 -1)
jez 2007-03-30 23:21

Added initial implementation of Groovydoc



Java and Groovy files are read into a tree of value objects from GroovyDoclet API ( org.codehaus.groovy.groovydoc.* )

This tree is then used to generate root, package and class level template renderings

using the GStringTemplateEngine.



The default templates are included within the base groovy jar, so groovydoc can be used 'fresh out of the box'



use from ant:

<taskdef name="groovydoc" classname="org.codehaus.groovy.ant.Groovydoc">

<groovydoc sourcepath="${src.dir}"

destdir="${groovydoc.dir}"

packagenames="${groovydoc.packages}"

use="true"

windowtitle="groovydoc"

private="true"/>





I hope people will enjoy these classes, and I invite you to come and put some flesh onto this skeleton implementation.



Limitations:

- class html files only lists method summaries so far

- comments are not treated properly yet

- groovydoc ant task has only very basic parameters so far



Cheers



Jez.



85 lines of code changed in:

Generated by StatSVN 0.3.2-SNAPSHOT