diff options
author | Błażej Kardyś <bkardys@virtuslab.com> | 2020-08-03 03:57:48 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-08-21 12:16:24 +0200 |
commit | c2b02c1fc17b839075b7cb6fd42498a519473fae (patch) | |
tree | 1de744003a37fbf361f799429ec9fb8887382037 /plugins/javadoc/src/main/resources | |
parent | 69d16856abcc68b31d298e6a62a7a58106de69c9 (diff) | |
download | dokka-c2b02c1fc17b839075b7cb6fd42498a519473fae.tar.gz dokka-c2b02c1fc17b839075b7cb6fd42498a519473fae.tar.bz2 dokka-c2b02c1fc17b839075b7cb6fd42498a519473fae.zip |
Deprecated elements page for javadoc format
Diffstat (limited to 'plugins/javadoc/src/main/resources')
-rw-r--r-- | plugins/javadoc/src/main/resources/views/components/navList.korte | 2 | ||||
-rw-r--r-- | plugins/javadoc/src/main/resources/views/deprecated.korte | 40 |
2 files changed, 41 insertions, 1 deletions
diff --git a/plugins/javadoc/src/main/resources/views/components/navList.korte b/plugins/javadoc/src/main/resources/views/components/navList.korte index d18b44c4..dbfe7eb3 100644 --- a/plugins/javadoc/src/main/resources/views/components/navList.korte +++ b/plugins/javadoc/src/main/resources/views/components/navList.korte @@ -21,7 +21,7 @@ {% else %} <li><a href="package-tree.html">Tree</a></li> {% end %} - <li>Deprecated</li> + <li><a href="{{ pathToRoot }}deprecated.html">Deprecated</a></li> <li><a href="{{ pathToRoot }}index-files/index-1.html">Index</a></li> <li>Help</li> </ul>
\ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/deprecated.korte b/plugins/javadoc/src/main/resources/views/deprecated.korte new file mode 100644 index 00000000..a22e1069 --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/deprecated.korte @@ -0,0 +1,40 @@ +{% extends "components/base.korte" %} +{% block content %} + +<main role="main"> + <div class="header"> + <h1 title="Deprecated API" class="title">Deprecated API</h1> + <h2 title="Contents">Contents</h2> + <ul> + {% for section in sections %} + <li><a href="#{{ section.id }}">{{ section.caption }}</a></li> + {% endfor %} + </ul> + </div> + <div class="contentContainer"> + {% for section in sections %} + <a id="{{ section.id }}"></a> + <ul class="blockList"> + <li class="blockList"> + <div class="deprecatedSummary"> + <table> + <caption><span>{{ section.caption }}</span><span class="tabEnd"> </span></caption> + <tr> + <th class="colFirst" scope="col">{{ section.header }}</th> + <th class="colLast" scope="col">Description</th> + </tr> + {% for element in section.elements %} + <tr class="{{ rowColor(loop.index0) }}"> + <th class="colDeprecatedItemName" scope="row"> + <a href="{{ element.address }}">{{ element.name }}</a> + </th> + <td class="colLast">{{ element.description|raw }}</td> + </tr> + {% endfor %} + </table> + </div> + </li> + </ul> + {% endfor %} + </div> +</main>
\ No newline at end of file |