Version parameter for the doc link.
@@ -260,7 +260,8 @@ func checkSupportArch() {
if err != nil {
panic(err)
}
- // to add a new platform, check https://github.com/etcd-io/website/blob/main/content/en/docs/v3.5/op-guide/supported-platform.md
+ // To add a new platform, check https://github.com/etcd-io/website/blob/main/content/en/docs/${VERSION}/op-guide/supported-platform.md.
+ // The ${VERSION} is the etcd version, e.g. v3.5, v3.6 etc.
if runtime.GOARCH == "amd64" ||
runtime.GOARCH == "arm64" ||
runtime.GOARCH == "ppc64le" ||
