-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binder setup incorrect #101
Comments
Unfortunately, it seems it is not possible to use directories with different project environments (see https://mybinder.readthedocs.io/en/latest/using/config_files.html#project-toml-install-a-julia-environment and jupyterhub/repo2docker#1002). Project.toml (and possibly Manifest.toml) should either be in the root directory of the branch or in a "/binder" subfolder. |
So it seems one has to add one specific set of Project.toml + Manifest.toml files to the root directory of the gh-pages branch. Of course, we could just always copy the current setup in the docs folder (as long as examples don't use their individual environments). However, it seems then always all notebooks, including the ones in the stable subdirectory or the ones in the documentation of previous releases, would use the same project environment. Probably, this will break some of the previous tutorials... Maybe we should just remove binder links? Or use a different branch for each tutorial? |
Currently, binder does not recognize that the notebooks use Julia and therefore does not install the correct kernels. It seems Project.toml and Manifest.toml files have to be added in the gh-pages branch (see https://mybinder.readthedocs.io/en/latest/examples/sample_repos.html#julia-binder-demo and fredrikekre/Literate.jl#46 (comment)). If the examples (currently there's only one) require different dependencies, probably it would be helpful to add separate Project.toml + Manifest.toml as suggested in JuliaGaussianProcesses/KernelFunctions.jl#234 (comment).
The text was updated successfully, but these errors were encountered: