This is an automated email from the ASF dual-hosted git repository.
blue pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 571b288 Add javadoc link functionality to calculate
/javadocs/<version> (#9)
571b288 is described below
commit 571b288cde88ed68135da4e939db38c0b630b82e
Author: Samuel Redai <[email protected]>
AuthorDate: Fri Jan 14 11:35:19 2022 -0800
Add javadoc link functionality to calculate /javadocs/<version> (#9)
---
docs/content/docs/api/javadocs/_index.md | 5 +++++
docs/layouts/partials/docs/menu-filetree.html | 15 +++++++++++++++
2 files changed, 20 insertions(+)
diff --git a/docs/content/docs/api/javadocs/_index.md
b/docs/content/docs/api/javadocs/_index.md
new file mode 100644
index 0000000..11430fc
--- /dev/null
+++ b/docs/content/docs/api/javadocs/_index.md
@@ -0,0 +1,5 @@
+---
+title: "Javadocs"
+weight: 310
+javadocLink: true
+---
\ No newline at end of file
diff --git a/docs/layouts/partials/docs/menu-filetree.html
b/docs/layouts/partials/docs/menu-filetree.html
index c96ab65..7c11790 100644
--- a/docs/layouts/partials/docs/menu-filetree.html
+++ b/docs/layouts/partials/docs/menu-filetree.html
@@ -57,6 +57,21 @@
{{.Title}}
</a>
</li>
+ {{ else if .Params.javadocLink }}
+ <li
+ {{- if and (not .Params.BookFlatSection) (not
.Params.BookCollapseSection) }}
+ class="navigation-icon-pad"
+ {{- else if .Params.BookFlatSection }}
+ class="book-section-flat navigation-icon-pad"
+ {{- else if .Params.BookCollapseSection }}
+ class="book-section-collapsed navigation-icon-pad"
+ {{ end -}}
+ >
+ <a href="{{ .Page.Site.BaseURL }}/../../javadocs/{{
.Page.Site.Params.versions.iceberg }}">
+ {{ template "book-nav-item-logo-image" (dict "Page" .) }}
+ {{.Title}}
+ </a>
+ </li>
{{ else if .IsSection }}
<li
{{- if and (not .Page.Params.bookIconImage) (not
.Page.Params.bookIconFa) }} class="book-section-flat navigation-icon-pad"