From 6b01fc8e9035f4ec2bd6e1f11160e9091594193d Mon Sep 17 00:00:00 2001
From: Samuel Gaist <samuel.gaist@idiap.ch>
Date: Mon, 1 May 2023 11:31:10 +0200
Subject: [PATCH] [doc][conf] Remove extra-intersphinx handling

The feature is not used in this package.
---
 doc/conf.py | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/doc/conf.py b/doc/conf.py
index efb2ce3..1b3f487 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -12,7 +12,6 @@ import sphinx_rtd_theme
 
 # For inter-documentation mapping:
 from bob.extension.utils import link_documentation
-from bob.extension.utils import load_requirements
 
 # -- General configuration -----------------------------------------------------
 
@@ -241,13 +240,7 @@ if "BOB_DOCUMENTATION_SERVER" not in os.environ:
         "BOB_DOCUMENTATION_SERVER"
     ] = "https://www.idiap.ch/software/beat/docs/beat/%(name)s/%(version)s/|https://www.idiap.ch/software/beat/docs/beat/%(name)s/master/"
 
-sphinx_requirements = "extra-intersphinx.txt"
-if os.path.exists(sphinx_requirements):
-    intersphinx_mapping = link_documentation(
-        additional_packages=["python", "numpy"] + load_requirements(sphinx_requirements)
-    )
-else:
-    intersphinx_mapping = link_documentation()
+intersphinx_mapping = link_documentation()
 
 # Adds simplejson, pyzmq links
 intersphinx_mapping["simplejson"] = (
-- 
GitLab