Mercurial > public > gradleplugins
comparison src/main/groovy/org/ssdt_ohio/gradle/tasks/UserDocTemplateInfo.groovy @ 14:9de72de14ab3
USASR-1307: customize CSS and override class template
author | Dave Smith <smith@nwoca.org> |
---|---|
date | Tue, 10 Dec 2013 23:24:56 +0000 |
parents | |
children | b3282a66cc05 |
comparison
equal
deleted
inserted
replaced
13:a628135958e7 | 14:9de72de14ab3 |
---|---|
1 /* | |
2 * Copyright (c) 2013. Ohio Department of Education. - All Rights Reserved. | |
3 * Unauthorized copying of this file, in any medium, is strictly prohibited. | |
4 * Written by State Software Development Team (http://ssdt.oecn.k12.oh.us/) | |
5 */ | |
6 | |
7 package org.ssdt_ohio.gradle.tasks | |
8 | |
9 | |
10 class UserDocTemplateInfo { | |
11 | |
12 private static final String USERDOC_BASEDIR = "org/ssdt_ohio/gradle/userdoc/templates/"; | |
13 | |
14 private static final String TEMPLATE_BASEDIR = "org/codehaus/groovy/tools/groovydoc/gstringTemplates/"; | |
15 private static final String DOCGEN_BASEDIR = "org/codehaus/groovy/tools/"; | |
16 public static final String[] DEFAULT_DOC_TEMPLATES = [ // top level templates | |
17 TEMPLATE_BASEDIR + "topLevel/index.html", | |
18 TEMPLATE_BASEDIR + "topLevel/overview-frame.html", // needs all package names | |
19 TEMPLATE_BASEDIR + "topLevel/allclasses-frame.html", // needs all packages / class names | |
20 TEMPLATE_BASEDIR + "topLevel/overview-summary.html", // needs all packages | |
21 TEMPLATE_BASEDIR + "topLevel/help-doc.html", | |
22 TEMPLATE_BASEDIR + "topLevel/index-all.html", | |
23 TEMPLATE_BASEDIR + "topLevel/deprecated-list.html", | |
24 USERDOC_BASEDIR + "stylesheet.css", // copy default one, may override later | |
25 TEMPLATE_BASEDIR + "topLevel/inherit.gif", | |
26 DOCGEN_BASEDIR + "groovy.ico", | |
27 ] | |
28 | |
29 public static final String[] DEFAULT_PACKAGE_TEMPLATES = [ // package level templates | |
30 TEMPLATE_BASEDIR + "packageLevel/package-frame.html", | |
31 TEMPLATE_BASEDIR + "packageLevel/package-summary.html" | |
32 ] | |
33 | |
34 public static final String[] DEFAULT_CLASS_TEMPLATES = [ // class level templates | |
35 USERDOC_BASEDIR + "classDocName.html" | |
36 ] | |
37 | |
38 | |
39 } |