From 6f112a9eb6f7df6c50ffd824af294a36dee6adb4 Mon Sep 17 00:00:00 2001 From: asanvaq Date: Tue, 28 Jul 2026 08:57:22 +0200 Subject: [PATCH 1/2] docs: add redirects for 404s on RTD tracking --- docs/redirects.txt | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs/redirects.txt b/docs/redirects.txt index 5a374c7c0..dbfafb7ed 100644 --- a/docs/redirects.txt +++ b/docs/redirects.txt @@ -24,3 +24,36 @@ "how-to/chiselling/index.rst" "how-to/chiseling/index.rst" "how-to/chiselling/chisel-existing-rock.rst" "how-to/chiseling/chisel-existing-rock.rst" "how-to/chiselling/install-slice.rst" "how-to/chiseling/install-slice.rst" + +# RTD 404 redirects + +"tutorials/index.rst" "tutorial/index.rst" +"tutorials/hello-world.rst" "tutorial/hello-world.rst" +"tutorials/pypi-package.rst" "tutorial/pypi-package.rst" +"tutorials/node-app.rst" "tutorial/node-app.rst" +"tutorials/chisel.rst" "how-to/chiseling/index.rst" + +"reference/rockcraft.yaml.rst" "reference/rockcraft-yaml.rst" +"reference/parts_steps.rst" "reference/parts-and-steps.rst" +"common/craft-parts/reference/part_properties.rst" "reference/parts-and-steps.rst" +"reference/commands/overlay.rst" "reference/commands/lifecycle-commands.rst" + +"how-to/rocks/index.rst" "how-to/crafting/index.rst" +"how-to/rocks/convert-to-pebble-layer.rst" "how-to/crafting/convert-to-pebble-layer.rst" +"how-to/rocks/rockcraft-pack-action.rst" "how-to/crafting/rockcraft-pack-action.rst" +"how-to/rocks/publish-a-rock.rst" "how-to/crafting/publish-a-rock.rst" +"how-to/rocks/add-internal-user-to-a-rock.rst" "how-to/crafting/add-internal-user-to-a-rock.rst" +"how-to/rocks/migrate-to-chiselled-rock.rst" "how-to/crafting/migrate-to-chiselled-rock.rst" +"how-to/rocks/chisel-existing-rock.rst" "how-to/chiseling/chisel-existing-rock.rst" + +"how-to/chisel/install-slice.rst" "how-to/chiseling/install-slice.rst" +"how-to/chisel/use-chisel.rst" "how-to/chiseling/index.rst" +"how-to/chisel/create-slice.rst" "how-to/chiseling/install-slice.rst" +"how-to/chisel/publish-slice.rst" "how-to/chiseling/install-slice.rst" + +"how-to/use-chisel.rst" "how-to/chiseling/index.rst" +"how-to/rockcraft-pack-action.rst" "how-to/crafting/rockcraft-pack-action.rst" +"how-to/contribute-docs.rst" "how-to/documentation/contribute-docs.rst" + +"explanation/lifecycle.rst" "explanation/lifecycle-layer.rst" +"explanation/filesets.rst" "common/craft-parts/explanation/filesets.rst" From f39d3c0419f92879ad25460771e719653cd7e9bd Mon Sep 17 00:00:00 2001 From: Anna Sancho Vaquer Date: Tue, 28 Jul 2026 09:26:09 +0200 Subject: [PATCH 2/2] docs: apply copilot suggestion Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Anna Sancho Vaquer --- docs/redirects.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/redirects.txt b/docs/redirects.txt index dbfafb7ed..f69558130 100644 --- a/docs/redirects.txt +++ b/docs/redirects.txt @@ -36,7 +36,7 @@ "reference/rockcraft.yaml.rst" "reference/rockcraft-yaml.rst" "reference/parts_steps.rst" "reference/parts-and-steps.rst" "common/craft-parts/reference/part_properties.rst" "reference/parts-and-steps.rst" -"reference/commands/overlay.rst" "reference/commands/lifecycle-commands.rst" +"reference/commands/overlay.rst" "explanation/overlay-step.rst" "how-to/rocks/index.rst" "how-to/crafting/index.rst" "how-to/rocks/convert-to-pebble-layer.rst" "how-to/crafting/convert-to-pebble-layer.rst"