From 9b4dd969097257e0f001a367bf7b6abe18c255b8 Mon Sep 17 00:00:00 2001
From: Valentin Lorentz <vlorentz@softwareheritage.org>
Date: Sat, 25 Jan 2025 11:21:29 +0100
Subject: [PATCH] Add redirects from swh-dataset to swh-export

To follow the package rename
---
 swh/docs/sphinx/conf.py | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/swh/docs/sphinx/conf.py b/swh/docs/sphinx/conf.py
index 0f4de8bf..a44f872f 100644
--- a/swh/docs/sphinx/conf.py
+++ b/swh/docs/sphinx/conf.py
@@ -214,6 +214,15 @@ redirects = {
     "swh-deposit/metadata": "api/metadata.html",
     "swh-deposit/specs/blueprint": "../api/use-cases.html",
     "swh-deposit/user-manual": "api/user-manual.html",
+    "swh-dataset": "swh-export",
+    "swh-dataset/index.html": "swh-export/index.html",
+    "swh-dataset/graph/dataset.html": "swh-export/graph/dataset.html",
+    "swh-dataset/graph/schema.html": "swh-export/graph/schema.html",
+    "swh-dataset/graph/athena.html": "swh-export/graph/athena.html",
+    "swh-dataset/graph/databricks.html": "swh-export/graph/databricks.html",
+    "swh-dataset/export.html": "swh-export/export.html",
+    "swh-dataset/generate_subdataset.html": "swh-export/generate_subdataset.html",
+    "apidoc/swh.dataset.html": "apidoc/swh.export.html",
     "infrastructure/index.html": "../../sysadm/network-architecture/index.html",
     "infrastructure/network.html": "../../sysadm/network-architecture/index.html",
     "infrastructure/service-urls.html": "../../sysadm/network-architecture/service-urls.html",  # noqa
-- 
GitLab