You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
context
In the context of my documentation I need to connect to Google Earth Engine services. When doing so I need to authenticate to the API. I can do that in the test suit using dedicated environment variables. I would like to run these few lines of code when launching every kernel and avoid to write it down inside the notebooks everytime.
If possible can you show me how to run a "startup" script ?
expectation
I would like to run the following code in every kernel:
currently my workaround is to write everything in a cell tagged as "input-remove" but that forces me to copy/paste lots of code and it then appears in the notebook itself that the user of my documentation open in colab, jupyterlite etc....
Describe the bug
context
In the context of my documentation I need to connect to Google Earth Engine services. When doing so I need to authenticate to the API. I can do that in the test suit using dedicated environment variables. I would like to run these few lines of code when launching every kernel and avoid to write it down inside the notebooks everytime.
If possible can you show me how to run a "startup" script ?
expectation
I would like to run the following code in every kernel:
PS: I'm not using MyST-NB in the context of jupyterbooks but a Sphinx documentation
Reproduce the bug
NA
List your environment
it is unrelated to jupyter-book
The text was updated successfully, but these errors were encountered: