Add user-agent to sphinx config to fix some linkchecks
This commit is contained in:
committed by
Wolfgang Walther
parent
8e0b67ed09
commit
a9dbd9e14f
@@ -289,3 +289,7 @@ texinfo_documents = [
|
|||||||
|
|
||||||
def setup(app):
|
def setup(app):
|
||||||
app.add_css_file('css/custom.css')
|
app.add_css_file('css/custom.css')
|
||||||
|
|
||||||
|
# taken from https://github.com/sphinx-doc/sphinx/blob/82dad44e5bd3776ecb6fd8ded656bc8151d0e63d/sphinx/util/requests.py#L42
|
||||||
|
user_agent = 'Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user