aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc/src/main/resources/views/components
diff options
context:
space:
mode:
authorBłażej Kardyś <bkardys@virtuslab.com>2020-08-19 15:42:29 +0200
committerGitHub <noreply@github.com>2020-08-19 15:42:29 +0200
commit6bd58a22b06c6e879b8e93ade631ca6f119976e3 (patch)
tree737ab304f41cc9efa64457acde4144aa7c852ffb /plugins/javadoc/src/main/resources/views/components
parent3100728f92e8d4ce828609d7447c3b486230218a (diff)
downloaddokka-6bd58a22b06c6e879b8e93ade631ca6f119976e3.tar.gz
dokka-6bd58a22b06c6e879b8e93ade631ca6f119976e3.tar.bz2
dokka-6bd58a22b06c6e879b8e93ade631ca6f119976e3.zip
Index page for javadoc (#1244)
Diffstat (limited to 'plugins/javadoc/src/main/resources/views/components')
-rw-r--r--plugins/javadoc/src/main/resources/views/components/bottomNavbar.korte2
-rw-r--r--plugins/javadoc/src/main/resources/views/components/navList.korte2
-rw-r--r--plugins/javadoc/src/main/resources/views/components/subNav.korte16
3 files changed, 17 insertions, 3 deletions
diff --git a/plugins/javadoc/src/main/resources/views/components/bottomNavbar.korte b/plugins/javadoc/src/main/resources/views/components/bottomNavbar.korte
index 789e3c54..a9d83e5c 100644
--- a/plugins/javadoc/src/main/resources/views/components/bottomNavbar.korte
+++ b/plugins/javadoc/src/main/resources/views/components/bottomNavbar.korte
@@ -13,7 +13,7 @@
</div>
<a id="skip.navbar.bottom">
<!-- -->
- </a></div>
+ </a>
{% set type="bottom" %}{% include "components/subNav.korte" -%}
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
diff --git a/plugins/javadoc/src/main/resources/views/components/navList.korte b/plugins/javadoc/src/main/resources/views/components/navList.korte
index e27bdecb..d18b44c4 100644
--- a/plugins/javadoc/src/main/resources/views/components/navList.korte
+++ b/plugins/javadoc/src/main/resources/views/components/navList.korte
@@ -22,6 +22,6 @@
<li><a href="package-tree.html">Tree</a></li>
{% end %}
<li>Deprecated</li>
- <li>Index</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/components/subNav.korte b/plugins/javadoc/src/main/resources/views/components/subNav.korte
index aa0905cf..7869d747 100644
--- a/plugins/javadoc/src/main/resources/views/components/subNav.korte
+++ b/plugins/javadoc/src/main/resources/views/components/subNav.korte
@@ -1,6 +1,20 @@
<div class="subNav">
+{% if kind == "indexPage" %}
+ <ul class="navList">
+ {%- if prevLetter != "" %}
+ <li><a href="{{ prevLetter }}.html">PREV&nbsp;LETTER</a></li>
+ {% else %}
+ <li>PREV&nbsp;LETTER</li>
+ {% endif -%}
+ {%- if nextLetter != "" %}
+ <li><a href="{{ nextLetter }}.html">NEXT&nbsp;LETTER</a></li>
+ {% else %}
+ <li>NEXT&nbsp;LETTER</li>
+ {% endif -%}
+ </ul>
+{% end -%}
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
-<li><a href="{{ pathToRoot }}allclasses.html">All&nbsp;Classes</a></li>
+ <li><a href="{{ pathToRoot }}allclasses.html">All&nbsp;Classes</a></li>
</ul>
{% if type != "bottom" %}
<ul class="navListSearch">