Skip to content
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

Add instructions on generating a webpage for a notebook that depends on packages in a custom/local registry #26

Open
mtfishman opened this issue Jan 13, 2025 · 0 comments

Comments

@mtfishman
Copy link

Thanks for the nice package and your work on Pluto.jl.

It would be nice to add instructions for using this package to generate a webpage for a notebook that depends on packages that are only available in a custom/local registry, rather than Julia's General registry. As expected, if you naively use this template for that use case, it can't find where to install the packages.

See my use case here: https://github.com/ITensor/itensor-deconstructed, that depends on packages in this custom/local registry: https://github.com/ITensor/ITensorRegistry.

My naive fix was adding this line to the workflow to add the custom/local registry: https://github.com/ITensor/itensor-deconstructed/blob/6fdc33d1be79e4dcb639862b70159563b88aa470/.github/workflows/ExportPluto.yaml#L49, which is able to successfully generate this webpage: https://itensor.github.io/itensor-deconstructed/itensor-deconstructed.html. Maybe there is a better way to handle this use case, if so please let me know!

I'm happy to make a PR with instructions, but partially I'm raising this issue as a reminder and also a hint for other users who are interested in doing something similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant