From b0f7a78180b5b6d1e8553560a05bc8b4f31f5eda Mon Sep 17 00:00:00 2001 From: ThinkChaos Date: Tue, 9 Jan 2024 13:02:22 -0500 Subject: [PATCH] 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 ``` --- 404.html | 18 ++++++++++++++++++ additional_information/index.html | 18 ++++++++++++++++++ configuration/index.html | 18 ++++++++++++++++++ includes/abbreviations/index.html | 18 ++++++++++++++++++ index.html | 18 ++++++++++++++++++ installation/index.html | 18 ++++++++++++++++++ interfaces/index.html | 18 ++++++++++++++++++ network_configuration/index.html | 18 ++++++++++++++++++ prometheus_grafana/index.html | 18 ++++++++++++++++++ rapidoc.html | 18 ++++++++++++++++++ 10 files changed, 180 insertions(+) create mode 100644 404.html create mode 100644 additional_information/index.html create mode 100644 configuration/index.html create mode 100644 includes/abbreviations/index.html create mode 100644 index.html create mode 100644 installation/index.html create mode 100644 interfaces/index.html create mode 100644 network_configuration/index.html create mode 100644 prometheus_grafana/index.html create mode 100644 rapidoc.html diff --git a/404.html b/404.html new file mode 100644 index 00000000..5c0b9073 --- /dev/null +++ b/404.html @@ -0,0 +1,18 @@ + + + + + Redirecting + + + + + Redirecting to latest/404.html... + + diff --git a/additional_information/index.html b/additional_information/index.html new file mode 100644 index 00000000..79e43c35 --- /dev/null +++ b/additional_information/index.html @@ -0,0 +1,18 @@ + + + + + Redirecting + + + + + Redirecting to ../latest/additional_information/... + + diff --git a/configuration/index.html b/configuration/index.html new file mode 100644 index 00000000..ecc7d702 --- /dev/null +++ b/configuration/index.html @@ -0,0 +1,18 @@ + + + + + Redirecting + + + + + Redirecting to ../latest/configuration/... + + diff --git a/includes/abbreviations/index.html b/includes/abbreviations/index.html new file mode 100644 index 00000000..dd90a764 --- /dev/null +++ b/includes/abbreviations/index.html @@ -0,0 +1,18 @@ + + + + + Redirecting + + + + + Redirecting to ../../latest/includes/abbreviations/... + + diff --git a/index.html b/index.html new file mode 100644 index 00000000..41a13bb7 --- /dev/null +++ b/index.html @@ -0,0 +1,18 @@ + + + + + Redirecting + + + + + Redirecting to latest/... + + diff --git a/installation/index.html b/installation/index.html new file mode 100644 index 00000000..4b32693b --- /dev/null +++ b/installation/index.html @@ -0,0 +1,18 @@ + + + + + Redirecting + + + + + Redirecting to ../latest/installation/... + + diff --git a/interfaces/index.html b/interfaces/index.html new file mode 100644 index 00000000..a6347206 --- /dev/null +++ b/interfaces/index.html @@ -0,0 +1,18 @@ + + + + + Redirecting + + + + + Redirecting to ../latest/interfaces/... + + diff --git a/network_configuration/index.html b/network_configuration/index.html new file mode 100644 index 00000000..9c9be0d8 --- /dev/null +++ b/network_configuration/index.html @@ -0,0 +1,18 @@ + + + + + Redirecting + + + + + Redirecting to ../latest/network_configuration/... + + diff --git a/prometheus_grafana/index.html b/prometheus_grafana/index.html new file mode 100644 index 00000000..4d2a6ef9 --- /dev/null +++ b/prometheus_grafana/index.html @@ -0,0 +1,18 @@ + + + + + Redirecting + + + + + Redirecting to ../latest/prometheus_grafana/... + + diff --git a/rapidoc.html b/rapidoc.html new file mode 100644 index 00000000..0e786f44 --- /dev/null +++ b/rapidoc.html @@ -0,0 +1,18 @@ + + + + + Redirecting + + + + + Redirecting to latest/rapidoc.html... + +