diff options
author | Błażej Kardyś <bkardys@virtuslab.com> | 2020-08-19 15:42:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 15:42:29 +0200 |
commit | 6bd58a22b06c6e879b8e93ade631ca6f119976e3 (patch) | |
tree | 737ab304f41cc9efa64457acde4144aa7c852ffb /plugins/javadoc/src/main/resources/views/components | |
parent | 3100728f92e8d4ce828609d7447c3b486230218a (diff) | |
download | dokka-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')
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 LETTER</a></li> + {% else %} + <li>PREV LETTER</li> + {% endif -%} + {%- if nextLetter != "" %} + <li><a href="{{ nextLetter }}.html">NEXT LETTER</a></li> + {% else %} + <li>NEXT LETTER</li> + {% endif -%} + </ul> +{% end -%} <ul class="navList" id="allclasses_navbar_top" style="display: block;"> -<li><a href="{{ pathToRoot }}allclasses.html">All Classes</a></li> + <li><a href="{{ pathToRoot }}allclasses.html">All Classes</a></li> </ul> {% if type != "bottom" %} <ul class="navListSearch"> |