From 4510b2898ab629197ee4f64d5ecf7ef0612442d3 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:58:09 +0200 Subject: [PATCH] DOC: update Binder links --- docs/conf.py | 2 +- docs/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 4138b79a3..7df083fb4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -232,7 +232,7 @@ def _get_dataclasses(module): }, { "name": "Launch on Binder", - "url": f"https://mybinder.org/v2/gh/{ORGANIZATION}/{REPO_NAME}/{BRANCH}?filepath=docs", + "url": f"https://mybinder.org/v2/gh/{ORGANIZATION}/{REPO_NAME}/{BRANCH}?urlpath=lab", "icon": "https://mybinder.readthedocs.io/en/latest/_static/favicon.png", "type": "url", }, diff --git a/docs/index.md b/docs/index.md index e98546682..742c19dcf 100644 --- a/docs/index.md +++ b/docs/index.md @@ -7,7 +7,7 @@ [![10.5281/zenodo.5526648](https://zenodo.org/badge/doi/10.5281/zenodo.5526648.svg)](https://doi.org/10.5281/zenodo.5526648) [![Supported Python versions](https://img.shields.io/pypi/pyversions/ampform)](https://pypi.org/project/ampform) {{ '[![Google Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ComPWA/ampform/blob/{})'.format(branch) }} -{{ '[![Binder](https://static.mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ComPWA/ampform/{}?filepath=docs/usage)'.format(branch) }} +{{ '[![Binder](https://static.mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ComPWA/ampform/{}?urlpath=lab)'.format(branch) }} :::{margin}