Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Add latest version to menu (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
nastra authored Oct 27, 2023
1 parent c3a08d0 commit f3ba7b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ theme= "iceberg-theme"
siteType = "docs"
search = true
versions.iceberg = "" # This is populated by the github deploy workflow and is equal to the branch name
versions.nessie = "0.59.0"
latestVersions.iceberg = "1.4.0" # This is used for the version badge on the "latest" site version
versions.nessie = "0.71.0"
latestVersions.iceberg = "1.4.1" # This is used for the version badge on the "latest" site version
BookSection='docs' # This determines which directory will inform the left navigation menu
disableHome=true

Expand All @@ -24,6 +24,7 @@ home = [ "HTML", "RSS", "SearchIndex" ]
[menu]
versions = [
{ name = "latest", pre = "relative", url = "../latest", weight = 1 },
{ name = "1.4.1", pre = "relative", url = "../1.4.1", weight = 987 },
{ name = "1.4.0", pre = "relative", url = "../1.4.0", weight = 988 },
{ name = "1.3.1", pre = "relative", url = "../1.3.1", weight = 989 },
{ name = "1.3.0", pre = "relative", url = "../1.3.0", weight = 990 },
Expand Down
3 changes: 2 additions & 1 deletion landing-page/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sectionPagesMenu = "main"
siteType = "landing-page"
search = true
description = "The open table format for analytic datasets."
latestVersions.iceberg = "1.4.0"
latestVersions.iceberg = "1.4.1"
docsBaseURL = ""

[[params.social]]
Expand All @@ -34,6 +34,7 @@ home = [ "HTML", "RSS", "SearchIndex" ]
[menu]
versions = [
{ name = "latest", url = "/docs/latest", weight = 1 },
{ name = "1.4.1", url = "/docs/1.4.1", weight = 987 },
{ name = "1.4.0", url = "/docs/1.4.0", weight = 988 },
{ name = "1.3.1", url = "/docs/1.3.1", weight = 989 },
{ name = "1.3.0", url = "/docs/1.3.0", weight = 990 },
Expand Down

0 comments on commit f3ba7b4

Please sign in to comment.