Skip to content

Commit 37d61d9

Browse files
committed
nicer doc link for dnsuser
1 parent e7f4d5f commit 37d61d9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ def save_locust_env_variables():
140140
intersphinx_mapping = {
141141
"requests": ("https://requests.readthedocs.io/en/latest/", None),
142142
"socketio": ("https://python-socketio.readthedocs.io/en/stable/", None),
143+
"dnspython": ("https://dnspython.readthedocs.io/en/stable/", None),
143144
}
144145

145146

locust/contrib/dns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def wrapper(message: Message, *args, name=None, **kwargs) -> Message:
4444

4545
class DNSUser(User):
4646
"""
47-
DNSUser provides a locust client class for dnspython's dns.query methods.
47+
DNSUser provides a locust client class for dnspython's :py:mod:`dns.query` methods.
4848
See example in :gh:`examples/dns_ex.py`.
4949
"""
5050

0 commit comments

Comments
 (0)