Skip to content

Commit a798560

Browse files
authored
Change latest version to relative path (#171)
* Add versions (#169) Signed-off-by: Benjamin Huo <benjamin@kubesphere.io> * Minor changes (#170) Signed-off-by: Benjamin Huo <benjamin@kubesphere.io> * Change latest version to relative path Signed-off-by: Benjamin Huo <benjamin@kubesphere.io>
1 parent e264c5f commit a798560

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

config.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,19 @@ archived_version = false
101101
# The version number for the version of the docs represented in this doc set.
102102
# Used in the "version-banner" partial to display a version number for the
103103
# current doc set.
104-
version = "0.0"
104+
version = "0.6"
105105

106106
# A link to latest version of the docs. Used in the "version-banner" partial to
107107
# point people to the main doc site.
108-
url_latest_version = "/"
108+
url_latest_version = "/docs"
109109

110110
[[params.versions]]
111-
version = "v0.6.x"
112-
# url = "./docs" # If chinese document is avaliable
113-
url = '/docs'
111+
version = "v0.6 (latest)"
112+
url = "/docs"
113+
114+
[[params.versions]]
115+
version = "v0.6"
116+
url = "https://v0-6.openfunction.dev/docs/"
114117

115118
# Repository configuration (URLs for in-page links to opening issues and suggesting changes)
116119
github_repo = "https://github.com/OpenFunction/website"

0 commit comments

Comments
 (0)