Skip to content

Commit f418be8

Browse files
authored
launch buttons (#9)
* Add launch buttons * update readme * update conf * fix conf
1 parent 46e4813 commit f418be8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Tests][badge-tests]][link-tests]
44
[![Documentation][badge-docs]][link-docs]
55

6-
[badge-tests]: https://img.shields.io/github/workflow/status/your_github_username/scverse-doc/Test/main
6+
[badge-tests]: https://img.shields.io/github/workflow/status/scverse-tutorials/Test/main
77
[link-tests]: https://github.com/your_github_username/scverse-doc/actions/workflows/test.yml
88
[badge-docs]: https://img.shields.io/readthedocs/scverse-doc
99

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
author = info["Author"]
2222
copyright = f"{datetime.now():%Y}, {author}."
2323
version = info["Version"]
24-
repository_url = f"https://github.com/your_github_username/{project_name}"
24+
repository_url = f"https://github.com/scverse/{project_name}"
2525

2626
# The full version, including alpha/beta/rc tags
2727
release = info["Version"]
@@ -108,7 +108,10 @@
108108

109109
html_theme_options = {
110110
"repository_url": repository_url,
111+
"repository_branch": "main",
112+
"path_to_docs": "docs",
111113
"use_repository_button": True,
114+
"launch_buttons": {"binderhub_url": "https://mybinder.org", "colab_url": "https://colab.research.google.com"},
112115
}
113116

114117
pygments_style = "default"

0 commit comments

Comments
 (0)