From 4b9cfc7765025ce77d38bdea4849cc57259731a0 Mon Sep 17 00:00:00 2001 From: mikemckiernan Date: Wed, 30 Aug 2023 13:53:28 +0000 Subject: [PATCH] Redirects for CNT-v1.14 --- repo.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/repo.toml b/repo.toml index 08544a724..fec7f7136 100644 --- a/repo.toml +++ b/repo.toml @@ -48,6 +48,18 @@ sphinx_conf_py_extra = """ if os.environ.get("CI_MERGE_REQUEST_IID") is not None: rst_epilog = ".. |gitlab_mr_url| replace:: {}/-/merge_requests/{}".format( os.environ["CI_MERGE_REQUEST_PROJECT_URL"], os.environ["CI_MERGE_REQUEST_IID"]) + + if project == "container-toolkit": + redirects = { + "concepts": "index.html", + "distro/*": "install-guide.html", + "install/*": "install-guide.html", + "nvidia-containerd.html": "install-guide.html", + "nvidia-docker.html": "install-guide.html", + "nvidia-podman.html": "install-guide.html", + "runtime/*": "docker-specialized.html", + "user-guide.html": "install-guide.html", + } """ #deps = [