summaryrefslogtreecommitdiff
path: root/docs/_ext
diff options
context:
space:
mode:
authorMichael <65680649+michaelg100@users.noreply.github.com>2024-07-01 10:32:48 -0400
committerNatalia <124304+nessita@users.noreply.github.com>2024-07-01 11:33:45 -0300
commit18d660d72084c7ab1aed090cef4074ca20852707 (patch)
tree8648bb146526231fc0906225ae31a6d37baed44f /docs/_ext
parent695e3df1ad5eecabbc82d8e1dc8627e87d8d5582 (diff)
[5.1.x] Fixed typo in source file linking Sphinx extension.
Backport of 289f48c71b0fdd058defb29879368897fb837021 from main.
Diffstat (limited to 'docs/_ext')
-rw-r--r--docs/_ext/github_links.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_ext/github_links.py b/docs/_ext/github_links.py
index 08f4161a01..11ec1e07c8 100644
--- a/docs/_ext/github_links.py
+++ b/docs/_ext/github_links.py
@@ -143,7 +143,7 @@ def github_linkcode_resolve(domain, info, *, version, next_version):
branch = get_branch(version=version, next_version=next_version)
relative_path = path.relative_to(pathlib.Path(__file__).parents[2])
- # Use "/" explicitely to join the path parts since str(file), on Windows,
+ # Use "/" explicitly to join the path parts since str(file), on Windows,
# uses the Windows path separator which is incorrect for URLs.
url_path = "/".join(relative_path.parts)
return f"https://github.com/django/django/blob/{branch}/{url_path}#L{lineno}"