diff --git a/src/sphinx_book_theme/header_buttons/launch.py b/src/sphinx_book_theme/header_buttons/launch.py index 08ef14cb..f3cd3b00 100644 --- a/src/sphinx_book_theme/header_buttons/launch.py +++ b/src/sphinx_book_theme/header_buttons/launch.py @@ -195,7 +195,7 @@ def add_launch_buttons( SPHINX_LOGGER.warning(f"Provider {provider} not supported on Lightning.") else: github_path = f"%2F{org}%2F{repo}%2Fblob%2F{branch}%2F{path_rel_repo}" - url = f"{lightning_studio_url}/new?repo_url=https://github.com{github_path}" + url = f"{lightning_studio_url}/new?repo_url=https%3A%2F%2Fgithub.com{github_path}" launch_buttons_list.append( { "type": "link",