From 4338fcfc6b2812ae69f8bf722187729757480575 Mon Sep 17 00:00:00 2001 From: Morten Enemark Lund Date: Mon, 19 Jan 2026 12:58:04 +0100 Subject: [PATCH] chore: update user agent for link check headers --- conf.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/conf.py b/conf.py index f25d142b..7f8fc5d3 100644 --- a/conf.py +++ b/conf.py @@ -465,11 +465,10 @@ def tagged_commit(): ogp_use_first_image = True # if not found defaults to 'ogp_image' -user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" +user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0" linkcheck_request_headers = { - r'https://docs.github.com/': {'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux i686; ' - 'rv:24.0) Gecko/20100101 Firefox/24.0'} + r'https://docs.github.com/': {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0'} } linkcheck_ignore = [ r".*linkcheck_ignore",