aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc/src/main/resources/views
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2020-06-18 12:00:46 +0200
committerBłażej Kardyś <bkardys@virtuslab.com>2020-06-23 02:57:40 +0200
commit0206be47827e5b072dac3deb9ccc1792ba95b13c (patch)
treee00704bbb2a872e64b575c5f11ade21551a86535 /plugins/javadoc/src/main/resources/views
parentef2db3b74d2653c2f84eda4d7058ffcb546dae1d (diff)
downloaddokka-0206be47827e5b072dac3deb9ccc1792ba95b13c.tar.gz
dokka-0206be47827e5b072dac3deb9ccc1792ba95b13c.tar.bz2
dokka-0206be47827e5b072dac3deb9ccc1792ba95b13c.zip
Javadoc classlikes and function pages
All implemented interfaces, first attempt at inherited methods
Diffstat (limited to 'plugins/javadoc/src/main/resources/views')
-rw-r--r--plugins/javadoc/src/main/resources/views/class.korte274
1 files changed, 273 insertions, 1 deletions
diff --git a/plugins/javadoc/src/main/resources/views/class.korte b/plugins/javadoc/src/main/resources/views/class.korte
index 9b19df08..a9120fb2 100644
--- a/plugins/javadoc/src/main/resources/views/class.korte
+++ b/plugins/javadoc/src/main/resources/views/class.korte
@@ -1,2 +1,274 @@
{% extends "components/base.korte" %}
-{% block content %} default {% end %} \ No newline at end of file
+{% block content %}
+
+<main role="main">
+ <div class="header">
+ <div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">{{ package }}</a></div>
+ <h2 title="{{ kind|capitalize }} {{ name }}" class="title">{{ kind|capitalize }} {{ name }}</h2>
+ </div>
+ <div class="contentContainer">
+ <!-- <ul class="inheritance">
+ <li>java.lang.Object</li>
+ <li>
+ <ul class="inheritance">
+ <li>adaptation.Adaptation</li>
+ </ul>
+ </li>
+ </ul> TODO inheritance tree -->
+ <div class="description">
+ <ul class="blockList">
+ <li class="blockList">
+ {% if implementedInterfaces.size != 0 %}
+ <dl>
+ <dt>All Implemented Interfaces:</dt>
+ <dd>
+ {% for name in implementedInterfaces %}
+ <code>{{ name }}</code>
+ {% if !loop.last %}
+ ,
+ {% endif %}
+ {% endfor %}
+ </dd>
+ </dl>
+ {% endif %}
+ <hr>
+ <pre>{{ signature|raw }}</pre>
+ <div class="block">{{ classlikeDocumentation }}</div>
+ </li>
+ </ul>
+ </div>
+ <div class="summary">
+ <ul class="blockList">
+ <li class="blockList">
+ <!-- ======== NESTED CLASS SUMMARY ======== -->
+ {% if classlikes.size != 0 %}
+ <section role="region">
+ <ul class="blockList">
+ <li class="blockList"><a id="nested.class.summary">
+ <!-- -->
+ </a>
+ <h3>Nested Class Summary</h3>
+ <table class="memberSummary">
+ <caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
+ <tr>
+ <th class="colFirst" scope="col">Modifier and Type</th>
+ <th class="colSecond" scope="col">Class</th>
+ <th class="colLast" scope="col">Description</th>
+ </tr>
+ {% for classlike in classlikes %}
+ <tr class="{{ rowColor(loop.index0) }}">
+ <td class="colFirst"><code>{{ classlike.modifiers }}</code></td>
+ <th class="colSecond" scope="row"><code>{{ classlike.signature }}</span></code>
+ </th>
+ <td class="colLast">{{ classlike.description }}</td>
+ </tr>
+ {% endfor %}
+ </table>
+ </li>
+ </ul>
+ </section>
+ {% endif %}
+ <!-- =========== FIELD SUMMARY =========== -->
+ {% if properties.size != 0 %}
+ <section role="region">
+ <ul class="blockList">
+ <li class="blockList"><a id="field.summary">
+ <!-- -->
+ </a>
+ <h3>Field Summary</h3>
+ <table class="memberSummary">
+ <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+ <tr>
+ <th class="colFirst" scope="col">Modifier and Type</th>
+ <th class="colSecond" scope="col">Field</th>
+ <th class="colLast" scope="col">Description</th>
+ </tr>
+ {% for property in properties %}
+ <tr class="{{ rowColor(loop.index0) }}">
+ <td class="colFirst"><code>{{ property.modifiers|raw }}</code></td>
+ <th class="colSecond" scope="row"><code>{{ property.signature|raw }}</code></th>
+ <td class="colLast">{{ description|raw }}</td>
+ </tr>
+ {% endfor %}
+ </table>
+ </li>
+ </ul>
+ </section>
+ {% endif %}
+ <!-- ======== CONSTRUCTOR SUMMARY ======== -->
+ {% if constructors.size != 0 %}
+ <section role="region">
+ <ul class="blockList">
+ <li class="blockList"><a id="constructor.summary">
+ <!-- -->
+ </a>
+ <h3>Constructor Summary</h3>
+ <table class="memberSummary">
+ <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+ <tbody>
+ <tr>
+ <th class="colFirst" scope="col">Constructor</th>
+ <th class="colLast" scope="col">Description</th>
+ </tr>
+
+ {% for constructor in constructors %}
+ <tr class="{{ rowColor(loop.index0) }}">
+ <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a
+ href="#%3Cinit%3E({{ constructor.inlineParameters }})">{{ constructor.name }}</a></span>({{ constructor.inlineParameters }})</code></th>
+ <td class="colLast">{{ constructor.brief }}</td>
+ </tr>
+ {% endfor %}
+
+ </tbody>
+ </table>
+ </li>
+ </ul>
+ </section>
+ {% endif %}
+ <!-- =========== ENUM CONSTANT SUMMARY =========== -->
+ {% if entries.size != 0 %}
+ <section role="region">
+ <ul class="blockList">
+ <li class="blockList"><a id="enum.constant.summary">
+ <!-- -->
+ </a>
+ <h3>Enum Constant Summary</h3>
+ <table class="memberSummary">
+ <caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
+ <tr>
+ <th class="colFirst" scope="col">Enum Constant</th>
+ <th class="colLast" scope="col">Description</th>
+ </tr>
+ {% for entry in entries %}
+ <tr class="{{ rowColor(loop.index0) }}">
+ <th class="colFirst" scope="row"><code><span class="memberNameLink"><a
+ href="TODO">{{ entry.signature|raw }}</a></span></code></th>
+ <td class="colLast">{{ entry.brief }}</td>
+ </tr>
+ {% endfor %}
+ </table>
+ </li>
+ </ul>
+ </section>
+ {% endif %}
+ <!-- ========== METHOD SUMMARY =========== -->
+ {% if methods.own.size !=0 || methods.inherited.size != 0 %}
+ <section role="region">
+ <ul class="blockList">
+ <li class="blockList"><a id="method.summary">
+ <!-- -->
+ </a>
+ <h3>Method Summary</h3>
+ <table class="memberSummary">
+ <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span
+ class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a
+ href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span
+ id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span
+ class="tabEnd">&nbsp;</span></span></caption>
+ <tbody>
+ <tr>
+ <th class="colFirst" scope="col">Modifier and Type</th>
+ <th class="colSecond" scope="col">Method</th>
+ <th class="colLast" scope="col">Description</th>
+ </tr>
+ {% for method in methods.own %}
+ <tr id="i{{ loop.index0 }}" class="{{ rowColor(loop.index0) }}">
+ <td class="colFirst"><code>{{ method.modifiers|raw }}</code>
+ </td>
+ <th class="colSecond" scope="row"><code>{{ method.signatureWithoutModifiers|raw }} </code>
+ </th>
+ <td class="colLast">{{ method.brief|raw }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+ <ul class="blockList">
+ {% for method in methods.inherited %}
+ <li class="blockList"><a id="methods.inherited.from.class.{{ method.inheritedFrom}}">
+ <!-- -->
+ </a>
+ <h3>Methods inherited from class&nbsp;{{ method.inheritedFrom}}</h3>
+ <code>{{ method.names }}</code></li>
+ {% endfor %}
+ <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
+ <!-- -->
+ </a>
+ <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+ <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
+ wait, wait, wait</code></li>
+ </ul>
+ </li>
+ </ul>
+ </section>
+ {% endif %}
+ </li>
+ </ul>
+ </div>
+ <div class="details">
+ <ul class="blockList">
+ <li class="blockList">
+ <!-- ========= CONSTRUCTOR DETAIL ======== -->
+ {% if constructors.size != 0 %}
+ <section role="region">
+ <ul class="blockList">
+ <li class="blockList"><a id="constructor.detail">
+ <!-- -->
+ </a>
+ <h3>Constructor Detail</h3>
+ {% for constructor in constructors %}
+ <a id="&lt;{{ constructor.name }}&gt;({{ constructor.inlineParameters }})">
+ <!-- -->
+ </a>
+ <ul class="blockList">
+ <li class="blockList">
+ <h4>{{ constructor.name }}</h4>
+ <pre>{{ constructor.name }}({{ constructor.inlineParameters }})</pre>
+ <div class="block">{{ constructor.brief }}</div>
+ {% if constructor.parameters.size != 0 && hasAnyDescription(constructor.parameters) %}
+ <dl>
+ <dt><span class="paramLabel">Parameters:</span></dt>
+ {% for parameter in constructor.parameters %}
+ {% if parameter.description != "" %}
+ <dd><code>{{ parameter.name }}</code> - {{ parameter.description }}</dd>
+ {% endif %}
+ {% endfor %}
+ </dl>
+ {% endif %}
+ </li>
+ </ul>
+ {% endfor %}
+ </li>
+ </ul>
+ </section>
+ {% endif %}
+ <!-- ============ METHOD DETAIL ========== -->
+ {% if methods.own.size != 0 %}
+ <section role="region">
+ <ul class="blockList">
+ <li class="blockList"><a id="method.detail">
+ <!-- -->
+ </a>
+ <h3>Method Detail</h3>
+ {% for method in methods.own %}
+ <a id="transform(model.ModelGraph,transformation.Transformation)">
+ <!-- TODO -->
+ </a>
+ <ul class="blockListLast">
+ <li class="blockList">
+ <h4>{{ method.name }}</h4>
+ <pre class="methodSignature">{{ method.signature|raw }}</pre>
+ <div class="block">{{ method.brief|raw }}</div>
+ <!-- TODO missing return annotation -->
+ </li>
+ </ul>
+ {% endfor %}
+ </li>
+ </ul>
+ </section>
+ {% endif %}
+ </li>
+ </ul>
+ </div>
+ </div>
+</main>
+{% end %} \ No newline at end of file