From 2c59f13564b6dbebf1b1870a0c66200da683328a Mon Sep 17 00:00:00 2001
From: Antoine Lambert <anlambert@softwareheritage.org>
Date: Wed, 25 Oct 2023 16:37:52 +0200
Subject: [PATCH] sphinx/conf.py: Fix warning with latest pydata-sphinx-theme
 release

Latest pydata-sphinx-theme release prints a new warning about
an accessibility issue and recommends to set to False the
navigation_with_keys theme option.

It fixes CI jobs on Jenkins as sphinx warnings are treated as
errors.

See https://github.com/pydata/pydata-sphinx-theme/issues/1492
---
 swh/docs/sphinx/conf.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/swh/docs/sphinx/conf.py b/swh/docs/sphinx/conf.py
index d8730dd..d01d238 100755
--- a/swh/docs/sphinx/conf.py
+++ b/swh/docs/sphinx/conf.py
@@ -142,6 +142,7 @@ html_theme_options = {
         },
     ],
     "navbar_persistent": ["search-button"],
+    "navigation_with_keys": False,
 }
 
 html_logo = "_static/software-heritage-logo-title.svg"
-- 
GitLab