changeset 22:b3282a66cc05

disable author property. change favicon
author smith@nwoca.org
date Mon, 11 Jan 2016 16:55:32 +0000
parents b14418c2ce40
children e2d02e8742be
files src/main/groovy/org/ssdt_ohio/gradle/tasks/UserDoc.groovy src/main/groovy/org/ssdt_ohio/gradle/tasks/UserDocTemplateInfo.groovy src/main/resources/org/ssdt_ohio/gradle/userdoc/templates/groovy.ico
diffstat 3 files changed, 18 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/groovy/org/ssdt_ohio/gradle/tasks/UserDoc.groovy	Sun Jan 10 16:43:54 2016 +0000
+++ b/src/main/groovy/org/ssdt_ohio/gradle/tasks/UserDoc.groovy	Mon Jan 11 16:55:32 2016 +0000
@@ -39,6 +39,7 @@
     Boolean protectedScope = false
     Boolean packageScope = false
     Boolean privateScope = false
+    Boolean author = false
 
     @TaskAction
     protected void generate() {
@@ -67,7 +68,7 @@
         properties.setProperty("protectedScope", protectedScope.toString());
         properties.setProperty("packageScope", packageScope.toString());
         properties.setProperty("privateScope", privateScope.toString());
-//        properties.setProperty("author", author.toString());
+        properties.setProperty("author", author.toString());
 //        properties.setProperty("processScripts", processScripts.toString());
 //        properties.setProperty("includeMainForScripts", includeMainForScripts.toString());
 //        properties.setProperty("overviewFile", overviewFile != null ? overviewFile.getAbsolutePath() : "");
--- a/src/main/groovy/org/ssdt_ohio/gradle/tasks/UserDocTemplateInfo.groovy	Sun Jan 10 16:43:54 2016 +0000
+++ b/src/main/groovy/org/ssdt_ohio/gradle/tasks/UserDocTemplateInfo.groovy	Mon Jan 11 16:55:32 2016 +0000
@@ -13,26 +13,27 @@
 
     private static final String TEMPLATE_BASEDIR = "org/codehaus/groovy/tools/groovydoc/gstringTemplates/";
     private static final String DOCGEN_BASEDIR = "org/codehaus/groovy/tools/";
-    public static final String[] DEFAULT_DOC_TEMPLATES = [ // top level templates
-            TEMPLATE_BASEDIR + "topLevel/index.html",
-            TEMPLATE_BASEDIR + "topLevel/overview-frame.html", // needs all package names
-            TEMPLATE_BASEDIR + "topLevel/allclasses-frame.html", // needs all packages / class names
-            TEMPLATE_BASEDIR + "topLevel/overview-summary.html", // needs all packages
-            TEMPLATE_BASEDIR + "topLevel/help-doc.html",
-            TEMPLATE_BASEDIR + "topLevel/index-all.html",
-            TEMPLATE_BASEDIR + "topLevel/deprecated-list.html",
-            USERDOC_BASEDIR + "stylesheet.css", // copy default one, may override later
-            TEMPLATE_BASEDIR + "topLevel/inherit.gif",
-            DOCGEN_BASEDIR + "groovy.ico",
-    ]
+    public static final String[] DEFAULT_DOC_TEMPLATES =
+            [ // top level templates
+              TEMPLATE_BASEDIR + "topLevel/index.html",
+              TEMPLATE_BASEDIR + "topLevel/overview-frame.html", // needs all package names
+              TEMPLATE_BASEDIR + "topLevel/allclasses-frame.html", // needs all packages / class names
+              TEMPLATE_BASEDIR + "topLevel/overview-summary.html", // needs all packages
+              TEMPLATE_BASEDIR + "topLevel/help-doc.html",
+              TEMPLATE_BASEDIR + "topLevel/index-all.html",
+              TEMPLATE_BASEDIR + "topLevel/deprecated-list.html",
+              USERDOC_BASEDIR + "stylesheet.css", // copy default one, may override later
+              TEMPLATE_BASEDIR + "topLevel/inherit.gif",
+              USERDOC_BASEDIR + "groovy.ico",
+            ]
 
     public static final String[] DEFAULT_PACKAGE_TEMPLATES = [ // package level templates
-            TEMPLATE_BASEDIR + "packageLevel/package-frame.html",
-            TEMPLATE_BASEDIR + "packageLevel/package-summary.html"
+                                                               TEMPLATE_BASEDIR + "packageLevel/package-frame.html",
+                                                               TEMPLATE_BASEDIR + "packageLevel/package-summary.html"
     ]
 
     public static final String[] DEFAULT_CLASS_TEMPLATES = [ // class level templates
-            USERDOC_BASEDIR + "classDocName.html"
+                                                             USERDOC_BASEDIR + "classDocName.html"
     ]
 
 
Binary file src/main/resources/org/ssdt_ohio/gradle/userdoc/templates/groovy.ico has changed