-
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make index pages redirect to
latest/
Rough steps, committing just the needed files in the end: ```sh mike deploy --update-aliases --alias-type=redirect latest index find index -name '*.html' -exec sed -i 's:\.\./latest:latest:g' {} + for f in index/{,*/,*/*/}*.html; do git mv "$f" "${f#index/}"; done ```
- Loading branch information
1 parent
d7749da
commit b0f7a78
Showing
10 changed files
with
180 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting</title> | ||
<noscript> | ||
<meta http-equiv="refresh" content="1; url=latest/404.html" /> | ||
</noscript> | ||
<script> | ||
window.location.replace( | ||
"latest/404.html" + window.location.search + window.location.hash | ||
); | ||
</script> | ||
</head> | ||
<body> | ||
Redirecting to <a href="latest/404.html">latest/404.html</a>... | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting</title> | ||
<noscript> | ||
<meta http-equiv="refresh" content="1; url=../latest/additional_information/" /> | ||
</noscript> | ||
<script> | ||
window.location.replace( | ||
"../latest/additional_information/" + window.location.search + window.location.hash | ||
); | ||
</script> | ||
</head> | ||
<body> | ||
Redirecting to <a href="../latest/additional_information/">../latest/additional_information/</a>... | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting</title> | ||
<noscript> | ||
<meta http-equiv="refresh" content="1; url=../latest/configuration/" /> | ||
</noscript> | ||
<script> | ||
window.location.replace( | ||
"../latest/configuration/" + window.location.search + window.location.hash | ||
); | ||
</script> | ||
</head> | ||
<body> | ||
Redirecting to <a href="../latest/configuration/">../latest/configuration/</a>... | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting</title> | ||
<noscript> | ||
<meta http-equiv="refresh" content="1; url=../../latest/includes/abbreviations/" /> | ||
</noscript> | ||
<script> | ||
window.location.replace( | ||
"../../latest/includes/abbreviations/" + window.location.search + window.location.hash | ||
); | ||
</script> | ||
</head> | ||
<body> | ||
Redirecting to <a href="../../latest/includes/abbreviations/">../../latest/includes/abbreviations/</a>... | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting</title> | ||
<noscript> | ||
<meta http-equiv="refresh" content="1; url=latest/" /> | ||
</noscript> | ||
<script> | ||
window.location.replace( | ||
"latest/" + window.location.search + window.location.hash | ||
); | ||
</script> | ||
</head> | ||
<body> | ||
Redirecting to <a href="latest/">latest/</a>... | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting</title> | ||
<noscript> | ||
<meta http-equiv="refresh" content="1; url=../latest/installation/" /> | ||
</noscript> | ||
<script> | ||
window.location.replace( | ||
"../latest/installation/" + window.location.search + window.location.hash | ||
); | ||
</script> | ||
</head> | ||
<body> | ||
Redirecting to <a href="../latest/installation/">../latest/installation/</a>... | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting</title> | ||
<noscript> | ||
<meta http-equiv="refresh" content="1; url=../latest/interfaces/" /> | ||
</noscript> | ||
<script> | ||
window.location.replace( | ||
"../latest/interfaces/" + window.location.search + window.location.hash | ||
); | ||
</script> | ||
</head> | ||
<body> | ||
Redirecting to <a href="../latest/interfaces/">../latest/interfaces/</a>... | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting</title> | ||
<noscript> | ||
<meta http-equiv="refresh" content="1; url=../latest/network_configuration/" /> | ||
</noscript> | ||
<script> | ||
window.location.replace( | ||
"../latest/network_configuration/" + window.location.search + window.location.hash | ||
); | ||
</script> | ||
</head> | ||
<body> | ||
Redirecting to <a href="../latest/network_configuration/">../latest/network_configuration/</a>... | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting</title> | ||
<noscript> | ||
<meta http-equiv="refresh" content="1; url=../latest/prometheus_grafana/" /> | ||
</noscript> | ||
<script> | ||
window.location.replace( | ||
"../latest/prometheus_grafana/" + window.location.search + window.location.hash | ||
); | ||
</script> | ||
</head> | ||
<body> | ||
Redirecting to <a href="../latest/prometheus_grafana/">../latest/prometheus_grafana/</a>... | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Redirecting</title> | ||
<noscript> | ||
<meta http-equiv="refresh" content="1; url=latest/rapidoc.html" /> | ||
</noscript> | ||
<script> | ||
window.location.replace( | ||
"latest/rapidoc.html" + window.location.search + window.location.hash | ||
); | ||
</script> | ||
</head> | ||
<body> | ||
Redirecting to <a href="latest/rapidoc.html">latest/rapidoc.html</a>... | ||
</body> | ||
</html> |