refactor: change repo name and URL after org migration (#924)

This commit is contained in:
Juro Oravec 2025-01-22 16:02:46 +01:00 committed by GitHub
parent ace9194733
commit 92f5497c74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 134 additions and 119 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