Skip to content

Commit ebfd2dc

Browse files
authored
[VAULT DOCS] Add version tracking redirects (#900)
* add versioned redirect for future versions of high-trafic URLs * add doc change to trigger rebuild
1 parent aaca466 commit ebfd2dc

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

content/vault/v1.20.x/content/docs/index.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ description: >-
66
common tasks, and best practices.
77
---
88

9-
# Documentation
9+
# Vault product documentation
1010

11-
Welcome to the Vault product documentation!
11+
<Note>
1212

13-
If you are getting started with Vault, we recommend reading the
14-
[What is Vault](/vault/docs/what-is-vault) docs before diving into our
15-
[Vault Foundations tutorial set](/vault/tutorials/getting-started)
16-
or our [Vault operator quickstart guide](/vault/docs/get-started/operations-qs).
13+
You are currently viewing documentation for an older version of Vault.
14+
15+
</Note>

content/vault/v1.20.x/redirects.jsonc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,19 @@
396396
"permanent": true
397397
},
398398

399+
/**
400+
Version-tracking redirects for defunct path: /platform/k8s/*:
401+
402+
- Source: {version}/platform/k8s/*
403+
Target: {version}/deploy/kybernetes/*
404+
Range: 1.19.x onward
405+
**/
406+
{
407+
"source": "/vault/docs/v:version(1\\.(?:19|2[0-9])\\.x)/platform/k8s/:slug*",
408+
"destination": "/vault/docs/v:version/deploy/kubernetes/:slug*",
409+
"permanent": true
410+
},
411+
399412
/*****************************************************************************
400413
2025 | IA update - Leasing redirects
401414
*****************************************************************************/

0 commit comments

Comments
 (0)