From f45750699d089e0101dcde5d38c7e08ec2f03708 Mon Sep 17 00:00:00 2001 From: irina-turova <31963497+irina-turova@users.noreply.github.com> Date: Wed, 31 May 2023 16:16:10 +0500 Subject: Add support for `@author`, `@since`, `@return` Javadoc tags (#2967) --- .../javadoc/src/main/resources/views/class.korte | 38 ++++++++++++++++++++-- 1 file changed, 35 insertions(+), 3 deletions(-) (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 index 84e302fb..54106dda 100644 --- a/plugins/javadoc/src/main/resources/views/class.korte +++ b/plugins/javadoc/src/main/resources/views/class.korte @@ -38,6 +38,24 @@ {% if signature.supertypes != null %}{{signature.supertypes|raw}}{% endif %}
{{ classlikeDocumentation|raw }}
+ +
+ + {% if sinceTagContent.size() != 0 %} +
Since:
+ {% for since in sinceTagContent %} +
{{ since|raw }}
+ {% endfor %} + {% endif %} + + {% if authorTagContent.size() != 0 %} +
Author:
+ {% for author in authorTagContent %} +
{{ author|raw }}
+ {% endfor %} + {% endif %} + +
@@ -271,17 +289,31 @@

{{ method.name }}

{{ method.signature.annotations|raw }} {{ method.signature.modifiers|raw }} {{ method.signature.signatureWithoutModifiers|raw}}
{{ method.description|raw }}
- {% if method.parameters.size != 0 && hasAnyDescription(method.parameters) %} +
+ + {% if method.parameters.size != 0 && hasAnyDescription(method.parameters) %}
Parameters:
{% for parameter in method.parameters %} {% if parameter.description != "" %}
{{ parameter.name }} - {{ parameter.description|raw }}
{% endif %} {% endfor %} -
{% endif %} - + + {% if method.returnTagContent != "" %} +
Returns:
+
{{ method.returnTagContent|raw }}
+ {% endif %} + + {% if method.sinceTagContent.size() != 0 %} +
Since:
+ {% for since in method.sinceTagContent %} +
{{ since|raw }}
+ {% endfor %} + {% endif %} + + {% endfor %} -- cgit