mirror of
https://github.com/django-components/django-components.git
synced 2025-08-22 23:14:05 +00:00
Deployed 92f5497
to dev with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
parent
15512f9355
commit
2fee5426e3
59 changed files with 338 additions and 338 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue