mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 08:02:06 -04:00
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 617471d85d)
This commit is contained in:
parent
46dbcd7c9a
commit
7294940f3f
1 changed files with 2 additions and 0 deletions
|
|
@ -168,6 +168,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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue