From b103129ea600bfb67b0ed35b760a09e2f962985a Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Wed, 25 Mar 2026 10:39:15 +0100 Subject: [PATCH] Set User-Agent for Sphinx to fix gitlab.gnome.org The linkcheck started to fail because of a new check on gitlab.gnome.org that now forbids Sphinx User-Agent, returnin 406 HTTP status. ( chapter10: line 115) broken https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home - 406 Client Error: Not Acceptable for url: https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home (cherry picked from commit 617471d85d60309e6b970d311fa45f677afb4ade) --- doc/arm/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/arm/conf.py b/doc/arm/conf.py index c28ddfaa73..b38206663e 100644 --- a/doc/arm/conf.py +++ b/doc/arm/conf.py @@ -169,6 +169,8 @@ release = version # -- General configuration --------------------------------------------------- +user_agent = "Mozilla/5.0" + # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones.