How to configure launch button configuration for new Binder session? #2496
Unanswered
matthewfeickert
asked this question in
Upgrading JupyterBook
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
pyhfis migrating to Jupyter Book v2 in pyhf/pyhf-tutorial#107. In the old (we were very behind on migration) Jupyter Book we could use the followingconfig.ymlsyntaxto create launch buttons in our Jupyter Book that would take users to that notebook in the Jupyter Lab view on mybinder.org or to a Google Colab instance.
For example, https://pyhf.github.io/pyhf-tutorial/SimpleWorkspace.html would allow you to launch to
https://mybinder.org/v2/gh/pyhf/pyhf-tutorial/main?urlpath=lab/tree/book/SimpleWorkspace.ipynborhttps://colab.research.google.com/github/pyhf/pyhf-tutorial/blob/main/book/SimpleWorkspace.ipynbIn
myst.ymlI'm unclear on how to do something similar, at least for Binder, asyields a launch button, but not one that is able to launch to a particular resource given the
binder.repokeys.From the Myst guide I see that "launch buttons" are experimental (as of PR #2046)
mystmd/docs/website-launch-buttons.md
Lines 10 to 12 in 296ab10
and I also see that (from PR #2110)
mystmd/docs/in-page-execution.md
Lines 90 to 95 in 296ab10
indicates I should be using a
project.binderkey instead of aproject.jupyter.binderkey, butis invalid
Is it possible to define a Binder launch button capabilities in
jupyter-bookv2.0.2?cc @agoose77, @stevejpurves, @choldgraf given this conversation: #2110 (comment)
Beta Was this translation helpful? Give feedback.
All reactions