From 8bd67cd7210f2b9b012c656be9b30fc16b7b7dc8 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Mon, 18 Jul 2016 18:00:39 +0200 Subject: [PATCH] Added project-documentation --- pom.xml | 126 ++++++++++++++++++++++++++++ src/site/site.xml | 21 +++++ src/site/xhtml/index.xhtml | 46 ++++++++++ src/site/xhtml/issue-tracking.xhtml | 13 +++ src/site/xhtml/mail-lists.xhtml | 13 +++ 5 files changed, 219 insertions(+) create mode 100644 src/site/site.xml create mode 100644 src/site/xhtml/index.xhtml create mode 100644 src/site/xhtml/issue-tracking.xhtml create mode 100644 src/site/xhtml/mail-lists.xhtml diff --git a/pom.xml b/pom.xml index c74c7df..25050cc 100644 --- a/pom.xml +++ b/pom.xml @@ -6,6 +6,37 @@ juplo-dialect 1.0-SNAPSHOT + Juplo Thymeleaf-Dialect + A thymeleaf-dialect, that collects some usefull utils, missing in the thymeleaf-distribution + http://juplo.de/juplo-dialect/index.html + + + scm:git:http://juplo.de/git/juplo-dialect + scm:git:ssh://juplo.de:/var/lib/git/juplo/juplo-dialect + http://juplo.de/gitweb/?p=juplo-dialect;a=summary + + + + + kai + Kai Moritz + kai@juplo.de + + + + + juplo + http://juplo.de + + + + + GNU Lesser General Public License, Version 3.0 + http://www.gnu.org/licenses/lgpl-3.0.en.html + repo + + + UTF-8 1.8 @@ -65,7 +96,102 @@ ${java.version} + + org.apache.maven.plugins + maven-source-plugin + 2.1.2 + + + attach-sources + verify + + jar + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.7 + + + org.apache.maven.shared + maven-filtering + 1.3 + + + + + copy-resources + pre-site + + copy-resources + + + ${project.build.directory}/filtered-site + + + src/site + true + + + + + + + + + + maven-site-plugin + 3.5.1 + + ${project.build.directory}/filtered-site + + + + + + + + org.apache.maven.plugins + maven-changes-plugin + 2.11 + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.7 + + -Xdoclint:none + + + + org.apache.maven.plugins + maven-jxr-plugin + 2.5 + + + org.apache.maven.plugins + maven-pmd-plugin + 3.4 + + true + 1.5 + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 2.9 + + true + + + + + diff --git a/src/site/site.xml b/src/site/site.xml new file mode 100644 index 0000000..36f2cf0 --- /dev/null +++ b/src/site/site.xml @@ -0,0 +1,21 @@ + + + de.juplo.maven + maven-thymeleaf-skin + 1.0.0 + + + + + + + + + + + + /juplo-dialect/ + + + + diff --git a/src/site/xhtml/index.xhtml b/src/site/xhtml/index.xhtml new file mode 100644 index 0000000..852b5ae --- /dev/null +++ b/src/site/xhtml/index.xhtml @@ -0,0 +1,46 @@ + + + + + + +

${project.name}

+

${project.description}

+

+ The Juplo Thymeleaf-Dialect collects some usefull utils, that we found were missing in the thymeleaf-distribution. + The following attribute-processors are added by the dialect: +

+
    +
  • + The juplo:active substitutes an <a>-tag by an <strong>-tag, if its parameter evaluates to true. + The content of the tag and all attributes, that are also valid in the context of an <strong>-tag are kept. +
  • +
  • + The juplo:inactive substitutes an <a>-tag by an <span>-tag, if its parameter evaluates to true. + The content of the tag and all attributes, that are also valid in the context of an <span>-tag are kept. +
  • +
  • + The juplo:variables parses JSON-data, that must contain an object as root-element and imports the key/value-pairs of this object as node-local variables. +
  • +
+

+ juplo:active and juplo:inactive are very usefull, if you build a complex navigation-logic like a deep menu or a breadcrumb-path and do not want, that links to the current page appear in the markup. + juplo:variables can be used to make variables available to a thymeleaf-template, when it is not possible or desirable, to change or add a controller to do so. +

+

+ This thymeleaf-dialect was developed as a part of the project + Entwicklung einer crowdgestützten Suchmaschine für Veranstaltungs- und Locationdaten. + As one of the winners of the + CreateMedia.NRW-contest, + the project is promoted by the + ministerium for economy, energy, industry, medium-sized bussinesses and handcraft for the state of North-Rhine Westphalia + in the course of the + OP EFRE.NRW 2014 — 2020. +

+

Releases

+ + + diff --git a/src/site/xhtml/issue-tracking.xhtml b/src/site/xhtml/issue-tracking.xhtml new file mode 100644 index 0000000..f7e6859 --- /dev/null +++ b/src/site/xhtml/issue-tracking.xhtml @@ -0,0 +1,13 @@ + + + + + + + There is no bug-tracking system set up for this project! +

+ Please send your bug-reports, questions or feature-requests directly + to the developer. +

+ + diff --git a/src/site/xhtml/mail-lists.xhtml b/src/site/xhtml/mail-lists.xhtml new file mode 100644 index 0000000..ff8d7f2 --- /dev/null +++ b/src/site/xhtml/mail-lists.xhtml @@ -0,0 +1,13 @@ + + + + + + + There are no mailinglists defined for this project! +

+ Please send your bug-reports, questions or feature-requests directly + to the developer. +

+ + -- 2.20.1