From 3940153fd08e0c0596ac289766d9ef2877b56591 Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Fri, 13 Mar 2020 10:46:33 +0100 Subject: First version of javadoc output generation --- .../javadoc/src/main/resources/views/class.korte | 2 + .../src/main/resources/views/components/base.korte | 27 ++++++++++++ .../resources/views/components/bottomNavbar.korte | 20 +++++++++ .../src/main/resources/views/components/head.korte | 19 +++++++++ .../resources/views/components/indexPage.korte | 10 +++++ .../resources/views/components/indexTable.korte | 12 ++++++ .../main/resources/views/components/navList.korte | 25 +++++++++++ .../resources/views/components/pageStart.korte | 38 +++++++++++++++++ .../main/resources/views/components/subNav.korte | 30 ++++++++++++++ .../resources/views/components/topNavbar.korte | 24 +++++++++++ .../src/main/resources/views/listPage.korte | 13 ++++++ .../javadoc/src/main/resources/views/tabPage.korte | 4 ++ .../src/main/resources/views/treePage.korte | 48 ++++++++++++++++++++++ 13 files changed, 272 insertions(+) create mode 100644 plugins/javadoc/src/main/resources/views/class.korte create mode 100644 plugins/javadoc/src/main/resources/views/components/base.korte create mode 100644 plugins/javadoc/src/main/resources/views/components/bottomNavbar.korte create mode 100644 plugins/javadoc/src/main/resources/views/components/head.korte create mode 100644 plugins/javadoc/src/main/resources/views/components/indexPage.korte create mode 100644 plugins/javadoc/src/main/resources/views/components/indexTable.korte create mode 100644 plugins/javadoc/src/main/resources/views/components/navList.korte create mode 100644 plugins/javadoc/src/main/resources/views/components/pageStart.korte create mode 100644 plugins/javadoc/src/main/resources/views/components/subNav.korte create mode 100644 plugins/javadoc/src/main/resources/views/components/topNavbar.korte create mode 100644 plugins/javadoc/src/main/resources/views/listPage.korte create mode 100644 plugins/javadoc/src/main/resources/views/tabPage.korte create mode 100644 plugins/javadoc/src/main/resources/views/treePage.korte (limited to 'plugins/javadoc/src/main/resources/views') diff --git a/plugins/javadoc/src/main/resources/views/class.korte b/plugins/javadoc/src/main/resources/views/class.korte new file mode 100644 index 00000000..9b19df08 --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/class.korte @@ -0,0 +1,2 @@ +{% extends "components/base.korte" %} +{% block content %} default {% end %} \ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/base.korte b/plugins/javadoc/src/main/resources/views/components/base.korte new file mode 100644 index 00000000..528bb40e --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/base.korte @@ -0,0 +1,27 @@ + + + +{%- include "components/head.korte" -%} + + + +{%- include "components/topNavbar.korte" -%} +{%- block content %} {% endblock -%} +{%- include "components/bottomNavbar.korte" -%} + + + + \ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/bottomNavbar.korte b/plugins/javadoc/src/main/resources/views/components/bottomNavbar.korte new file mode 100644 index 00000000..789e3c54 --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/bottomNavbar.korte @@ -0,0 +1,20 @@ + \ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/head.korte b/plugins/javadoc/src/main/resources/views/components/head.korte new file mode 100644 index 00000000..758e6fbc --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/head.korte @@ -0,0 +1,19 @@ + + + {{ title }} ({{ docName }} {{ version }}) + + + + + + + + + + + + + + \ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/indexPage.korte b/plugins/javadoc/src/main/resources/views/components/indexPage.korte new file mode 100644 index 00000000..49d0fea2 --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/indexPage.korte @@ -0,0 +1,10 @@ +
+
+

{{ title }} {{ version }} API

+
+
+
+ {% include "components/indexTable.korte" %} +
+
+
\ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/indexTable.korte b/plugins/javadoc/src/main/resources/views/components/indexTable.korte new file mode 100644 index 00000000..8595a728 --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/indexTable.korte @@ -0,0 +1,12 @@ + + + + + + + +{% for item in list %} + {{ createTabRow(item, dir)|raw }} +{% end -%} + +
{{ tabTitle }} 
{{ colTitle }}Description
\ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/navList.korte b/plugins/javadoc/src/main/resources/views/components/navList.korte new file mode 100644 index 00000000..1bee80be --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/navList.korte @@ -0,0 +1,25 @@ + \ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/pageStart.korte b/plugins/javadoc/src/main/resources/views/components/pageStart.korte new file mode 100644 index 00000000..f369044c --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/pageStart.korte @@ -0,0 +1,38 @@ + + + + +$documentTitle ({{ title }} {{ version }} API) + + + + + + + + + + + + + + + +
+