From 8cd861a7196d6a4462d0786a0c393250aa12fefb Mon Sep 17 00:00:00 2001
From: Samuel Gaist <samuel.gaist@idiap.ch>
Date: Mon, 1 May 2023 11:30:28 +0200
Subject: [PATCH] [doc][conf] Fix extra links to follow latest format

The way it is done currently has been deprecated for a long time
and support will be removed in version 8 of sphinx.
---
 doc/conf.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/doc/conf.py b/doc/conf.py
index 9c13991..efb2ce3 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -250,5 +250,8 @@ else:
     intersphinx_mapping = link_documentation()
 
 # Adds simplejson, pyzmq links
-intersphinx_mapping["http://simplejson.readthedocs.io/en/stable/"] = None
-intersphinx_mapping["http://pyzmq.readthedocs.io/en/stable/"] = None
+intersphinx_mapping["simplejson"] = (
+    "http://simplejson.readthedocs.io/en/stable/",
+    None,
+)
+intersphinx_mapping["pyzmq"] = ("http://pyzmq.readthedocs.io/en/stable/", None)
-- 
GitLab