Skip to content

Commit afcc41f

Browse files
committed
Intersphinx: declare user agent
1 parent ddb20a7 commit afcc41f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readthedocs/projects/tasks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1398,10 +1398,11 @@ def _create_intersphinx_data(version, commit, build):
13981398
log.exception('Exception parsing readthedocs-sphinx-domain-names.json')
13991399

14001400
# These classes are copied from Sphinx
1401-
# https://git.io/fhFbI
1401+
# https://github.com/sphinx-doc/sphinx/blob/d79d041f4f90818e0b495523fdcc28db12783caf/sphinx/ext/intersphinx.py#L400-L403 # noqa
14021402
class MockConfig:
14031403
intersphinx_timeout = None
14041404
tls_verify = False
1405+
user_agent = None
14051406

14061407
class MockApp:
14071408
srcdir = ''

0 commit comments

Comments
 (0)