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