From 617471d85d60309e6b970d311fa45f677afb4ade 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 --- doc/arm/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/arm/conf.py b/doc/arm/conf.py index 3a58eb3fe6..38f727ee41 100644 --- a/doc/arm/conf.py +++ b/doc/arm/conf.py @@ -164,6 +164,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.