Skip to content

Commit

Permalink
add 1.8 and deprecate 1.7 release for 1.7 site (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
nagar-ajay authored Oct 11, 2023
1 parent 3902e6e commit 627a153
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hugo_build_deploy_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: Extract branch name
shell: bash
run: echo "VERSION_NAME=$(echo ${GITHUB_REF#refs/heads/} | sed 's/release//;s/-//' | sed 's/main/dev/' | sed 's/v1.7/./')" >> $GITHUB_OUTPUT
run: echo "VERSION_NAME=$(echo ${GITHUB_REF#refs/heads/} | sed 's/release//;s/-//' | sed 's/main/dev/')" >> $GITHUB_OUTPUT
id: extract_branch

- name: Run a multi-line script
Expand Down
13 changes: 9 additions & 4 deletions website/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Base configuration
##########################################################
# Note: Update base URL for older version when releasing a new version
baseURL = "https://nutanix.github.io/kubeflow-manifests"
baseURL = "https://nutanix.github.io/kubeflow-manifests/v1.7"
title = "Kubeflow on NKE"
description = "Open-source machine learning platform running on NKE"

Expand Down Expand Up @@ -122,7 +122,7 @@ pygmentsStyle = "tango"
# Flag used in the "version-banner" partial to decide whether to display a
# banner on every page indicating that this is an archived version of the docs.
# Set this flag to "true" if you want to display the banner.
archived_version = false
archived_version = true

# Uncomment this if your GitHub repo does not have "main" as the default branch,
# or specify a new value if you want to reference another branch in your GitHub links
Expand All @@ -139,10 +139,15 @@ pygmentsStyle = "tango"

# These entries appear in the drop-down menu at the top of the website.
[[params.versions]]
version = "v1.7(latest)"
githubbranch = "release-v1.7"
version = "v1.8(latest)"
githubbranch = "release-v1.8"
url = "https://nutanix.github.io/kubeflow-manifests/docs"

[[params.versions]]
version = "v1.7"
githubbranch = "release-v1.7"
url = "https://nutanix.github.io/kubeflow-manifests/v1.7/docs"

[[params.versions]]
version = "dev"
githubbranch = "main"
Expand Down

0 comments on commit 627a153

Please sign in to comment.