Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
74 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
plugins/base/src/main/resources/dokka/templates/includes/footer.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<#macro display> | ||
<div class="footer"> | ||
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>${footerMessage}</span><span | ||
class="pull-right"><span>Generated by </span><a | ||
href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span> | ||
</div> | ||
</#macro> |
24 changes: 24 additions & 0 deletions
24
plugins/base/src/main/resources/dokka/templates/includes/header.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<#import "source_set_selector.ftl" as source_set_selector> | ||
<#macro display> | ||
<div class="navigation-wrapper" id="navigation-wrapper"> | ||
<div id="leftToggler"><span class="icon-toggler"></span></div> | ||
<div class="library-name"> | ||
<@template_cmd name="pathToRoot"> | ||
<a href="${pathToRoot}index.html"> | ||
<@template_cmd name="projectName"> | ||
<span>${projectName}</span> | ||
</@template_cmd> | ||
</a> | ||
</@template_cmd> | ||
</div> | ||
<div> | ||
<#-- This can be handled by a versioning plugin --> | ||
<@version/> | ||
</div> | ||
<div class="pull-right d-flex"> | ||
<@source_set_selector.display/> | ||
<button id="theme-toggle-button"><span id="theme-toggle"></span></button> | ||
<div id="searchBar"></div> | ||
</div> | ||
</div> | ||
</#macro> |
6 changes: 6 additions & 0 deletions
6
plugins/base/src/main/resources/dokka/templates/includes/page_metadata.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<#macro display> | ||
<title>${pageName}</title> | ||
<@template_cmd name="pathToRoot"> | ||
<link href="${pathToRoot}images/logo-icon.svg" rel="icon" type="image/svg"> | ||
</@template_cmd> | ||
</#macro> |
9 changes: 9 additions & 0 deletions
9
plugins/base/src/main/resources/dokka/templates/includes/source_set_selector.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<#macro display> | ||
<#if sourceSets??> | ||
<div class="filter-section" id="filter-section"> | ||
<#list sourceSets as ss> | ||
<button class="platform-tag platform-selector ${ss.platform}-like" data-active="" data-filter="${ss.filter}">${ss.name}</button> | ||
</#list> | ||
</div> | ||
</#if> | ||
</#macro> |