Deployed 92f5497 to dev with MkDocs 1.6.1 and mike 2.1.3

This commit is contained in:
github-actions 2025-01-22 15:03:43 +00:00
parent 15512f9355
commit 2fee5426e3
59 changed files with 338 additions and 338 deletions

View file

@ -52,7 +52,7 @@ def _format_source_code_html(relative_filepath: Path, lineno: Optional[int]):
branch_path = f"tree/{SOURCE_CODE_GIT_BRANCH}"
lineno_hash = f"#L{lineno}" if lineno is not None else ""
# Generate URL pointing to the source file like
# https://github.com/EmilStenstrom/django-components/blob/master/src/django_components/components/dynamic.py#L8
# https://github.com/django-components/django-components/blob/master/src/django_components/components/dynamic.py#L8
url = f"{repo_url}/{branch_path}/{relative_filepath}{lineno_hash}"
# Open in new tab