Skip to content

Commit

Permalink
Fix checks redirect in 2.15 docs (#1769)
Browse files Browse the repository at this point in the history
* Fixed checks redirect

Signed-off-by: Travis Beckham <[email protected]>

* Fixed redirect in older docs to point to the latest troubleshooting doc

Signed-off-by: Travis Beckham <[email protected]>

* improve versioncheck troubleshooting language

Signed-off-by: William Morgan <[email protected]>

* Fixed header anchor links

Signed-off-by: Travis Beckham <[email protected]>

* Added unsupported version channel error to cli check

Signed-off-by: Travis Beckham <[email protected]>

* Bypass markdownlint due to styling of headers

Signed-off-by: Travis Beckham <[email protected]>

---------

Signed-off-by: Travis Beckham <[email protected]>
Signed-off-by: William Morgan <[email protected]>
Co-authored-by: William Morgan <[email protected]>
  • Loading branch information
travisbeckham and wmorgan committed Apr 26, 2024
1 parent 9d52271 commit 9a9da49
Show file tree
Hide file tree
Showing 7 changed files with 170 additions and 112 deletions.
2 changes: 1 addition & 1 deletion linkerd.io/content/2.10/checks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript">
window.onload = function() {
var hash = window.location.hash;
window.location.href = window.location.origin + "/2.10/tasks/troubleshooting/" + hash;
window.location.href = window.location.origin + "/2/tasks/troubleshooting/" + hash;
}
</script>
<title>Linkerd Check Redirection</title>
Expand Down
2 changes: 1 addition & 1 deletion linkerd.io/content/2.11/checks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript">
window.onload = function() {
var hash = window.location.hash;
window.location.href = window.location.origin + "/2.11/tasks/troubleshooting/" + hash;
window.location.href = window.location.origin + "/2/tasks/troubleshooting/" + hash;
}
</script>
<title>Linkerd Check Redirection</title>
Expand Down
2 changes: 1 addition & 1 deletion linkerd.io/content/2.12/checks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript">
window.onload = function() {
var hash = window.location.hash;
window.location.href = window.location.origin + "/2.12/tasks/troubleshooting/" + hash;
window.location.href = window.location.origin + "/2/tasks/troubleshooting/" + hash;
}
</script>
<title>Linkerd Check Redirection</title>
Expand Down
2 changes: 1 addition & 1 deletion linkerd.io/content/2.13/checks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript">
window.onload = function() {
var hash = window.location.hash;
window.location.href = window.location.origin + "/2.13/tasks/troubleshooting/" + hash;
window.location.href = window.location.origin + "/2/tasks/troubleshooting/" + hash;
}
</script>
<title>Linkerd Check Redirection</title>
Expand Down
2 changes: 1 addition & 1 deletion linkerd.io/content/2.14/checks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript">
window.onload = function() {
var hash = window.location.hash;
window.location.href = window.location.origin + "/2.15/tasks/troubleshooting/" + hash;
window.location.href = window.location.origin + "/2/tasks/troubleshooting/" + hash;
}
</script>
<title>Linkerd Check Redirection</title>
Expand Down
2 changes: 1 addition & 1 deletion linkerd.io/content/2.15/checks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript">
window.onload = function() {
var hash = window.location.hash;
window.location.href = window.location.origin + "/2.14/tasks/troubleshooting/" + hash;
window.location.href = window.location.origin + "/2/tasks/troubleshooting/" + hash;
}
</script>
<title>Linkerd Check Redirection</title>
Expand Down
Loading

0 comments on commit 9a9da49

Please sign in to comment.