From d0f9669f5d526e7b93bdb28fb6f3c098d18ca055 Mon Sep 17 00:00:00 2001
From: Yannick DAYER <yannick.dayer@idiap.ch>
Date: Fri, 23 Jun 2023 15:48:17 +0200
Subject: [PATCH] docs: remove refs to bob.extension and clean deps.

---
 doc/catalog.json              | 8 --------
 doc/conf.py                   | 6 +-----
 doc/extra-intersphinx.txt     | 8 --------
 doc/nitpick-exceptions.txt    | 1 -
 doc/pipeline_simple_intro.rst | 4 ++--
 pyproject.toml                | 4 ----
 6 files changed, 3 insertions(+), 28 deletions(-)
 delete mode 100644 doc/catalog.json
 delete mode 100644 doc/extra-intersphinx.txt

diff --git a/doc/catalog.json b/doc/catalog.json
deleted file mode 100644
index d502c82d..00000000
--- a/doc/catalog.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "bob.extension": {
-    "versions": {
-      "latest": "https://www.idiap.ch/software/bob/docs/bob/bob.extension/master"
-    },
-    "sources": {}
-  }
-}
diff --git a/doc/conf.py b/doc/conf.py
index 5ad2b9d4..f83be4dd 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -234,13 +234,9 @@ autodoc_default_options = {
 
 auto_intersphinx_packages = [
     ("python", "3"),
+    "clapper",
     "numpy",
     "scikit-learn",
-    "bob.bio.face",
-    "bob.extension",
-    "bob.bio.video",
-    "bob.bio.spear",
-    "bob.bio.vein",
     "bob.pipelines",
     "dask",
 ]
diff --git a/doc/extra-intersphinx.txt b/doc/extra-intersphinx.txt
deleted file mode 100644
index bb557f94..00000000
--- a/doc/extra-intersphinx.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-python
-scikit-learn
-bob.bio.face
-bob.bio.video
-bob.bio.spear
-bob.bio.vein
-bob.pipelines
-dask
diff --git a/doc/nitpick-exceptions.txt b/doc/nitpick-exceptions.txt
index c4b56957..14c3632e 100644
--- a/doc/nitpick-exceptions.txt
+++ b/doc/nitpick-exceptions.txt
@@ -1,2 +1 @@
-py:class bob.bio.video.preprocessor.Video
 py:exc ValueError
diff --git a/doc/pipeline_simple_intro.rst b/doc/pipeline_simple_intro.rst
index e0b5bdc8..1a2ff4a5 100644
--- a/doc/pipeline_simple_intro.rst
+++ b/doc/pipeline_simple_intro.rst
@@ -242,7 +242,7 @@ files. To do so for e.g. the MOBIO database (no need for ATNT database), run the
 .. note::
     Since the original files of the ATNT database is included in this package, you can skip the step above.
 
-For more information, see :ref:`bob.extension.rc`.
+For more information, see :ref:`clapper.rc`.
 
 Find below a complete file containing a Transformer, a Biometric Algorithm, and the construction of the pipeline:
 
@@ -301,7 +301,7 @@ relevant pacakge or using the following code snippet:
             continue
         print(entry_point)
 
-See :ref:`bob.extension.framework` for more information.
+.. See :ref:`bob.extension.framework` for more information.
 
 .. note::
 
diff --git a/pyproject.toml b/pyproject.toml
index 2f64d359..46216906 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -56,10 +56,6 @@
         "sphinxcontrib-programoutput",
         "matplotlib",
         "dask-ml",
-        "bob.bio.face",
-        "bob.bio.vein",
-        "bob.bio.spear",
-        "bob.bio.video",
         ]
     test = [
         "pytest",
-- 
GitLab