From 10eeb3b274458afa015e0b7eff9040feb76ab5f2 Mon Sep 17 00:00:00 2001 From: googs1025 Date: Sat, 20 Apr 2024 23:37:45 +0800 Subject: [PATCH] use hugo param to define variables in md language --- site/config.toml | 2 +- site/content/en/docs/installation/_index.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/site/config.toml b/site/config.toml index 53519ed6..7ab4b695 100644 --- a/site/config.toml +++ b/site/config.toml @@ -92,7 +92,7 @@ ignoreFiles = [] # The major.minor version tag for the version of the docs represented in this # branch of the repository. Used in the "version-banner" partial to display a # version number for this doc set. - version = "v0.5.3" + version = "v0.5.0" # 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. diff --git a/site/content/en/docs/installation/_index.md b/site/content/en/docs/installation/_index.md index 617efefe..54e51a16 100644 --- a/site/content/en/docs/installation/_index.md +++ b/site/content/en/docs/installation/_index.md @@ -48,7 +48,7 @@ machine type for your nodes.** To install a released version of Jobset in your cluster, run the following command: ```shell -VERSION=v0.5.0 +VERSION={{< param "version" >}} kubectl apply --server-side -f https://github.com/kubernetes-sigs/jobset/releases/download/$VERSION/manifests.yaml ``` @@ -58,7 +58,7 @@ If you are using [prometheus-operator](https://github.com/prometheus-operator/pr to scrape metrics from jobset components, run the following command: ```shell -VERSION=v0.5.0 +VERSION={{< param "version" >}} kubectl apply -f https://github.com/kubernetes-sigs/jobset/releases/download/$VERSION/prometheus.yaml ``` @@ -71,7 +71,7 @@ can be scraped without performing this step. To uninstall a released version of JobSet from your cluster, run the following command: ```shell -VERSION=v0.5.0 +VERSION={{< param "version" >}} kubectl delete -f https://github.com/kubernetes-sigs/jobset/releases/download/$VERSION/manifests.yaml ```