Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add package-list file for groovy-jdk API documentation #35

Closed
wants to merge 1 commit into from

2 participants

@mathbruyen

In order to allow API documentation generator to rely on this website for their external links.
See http://docs.oracle.com/javase/1.3/docs/tooldocs/win32/javadoc.html#package-list

Mathieu Bruyen Generate package-list file for groovy-jdk
Groovy JDK API documentation includes a package-list, allowing
API documentation generator to rely on this website for their
external links.
a390c56
@melix
Owner

This will be available in 1.8.7 and 2.0-beta-3. Thanks!

For reference: http://jira.codehaus.org/browse/GROOVY-5338

@melix melix closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 29, 2012
  1. Generate package-list file for groovy-jdk

    Mathieu Bruyen authored
    Groovy JDK API documentation includes a package-list, allowing
    API documentation generator to rely on this website for their
    external links.
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/tools/org/codehaus/groovy/tools/DocGenerator.groovy
View
8 src/tools/org/codehaus/groovy/tools/DocGenerator.groovy
@@ -109,7 +109,13 @@ class DocGenerator {
out.withWriter {
it << templateOverviewFrame.make(binding)
}
-
+
+ // the package list
+ out = new File(outputFolder, 'package-list')
+ out.withWriter { writer ->
+ packages.keySet().findAll{ it }.each{ writer.println it }
+ }
+
// the allclasses-frame.html
def templateAllClasses = createTemplate(engine, 'template.allclasses-frame.html')
out = new File(outputFolder, 'allclasses-frame.html')
Something went wrong with that request. Please try again.