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

How to preview CryoCloud JupyterBook changes on CryoCloud JupyterHub? #97

Open
scottyhq opened this issue May 15, 2024 · 2 comments
Open

Comments

@scottyhq
Copy link
Contributor

The CryoCloud Jupyterbook contributing docs recommend previewing changes https://book.cryointhecloud.com/contributing/workflow.html#jupyterbook-preview

It would be great to be able to edit and preview the CryoCloud Jupyterbook from the CryoCloud JupyterHub, but it's unclear how to open the HTML generated after running jupyter-book build which outputs the following:

Finished generating HTML for book.
Your book's HTML pages are here:
    book/_build/html/
You can look at your book by opening this file in a browser:
    book/_build/html/index.html
Or paste this line directly into your browser bar:
    file:///tmp/jupyterbook-template/book/_build/html/index.html      

If I just double click on index.html I first have to click a trust HTML button and then I see this error message:

Screenshot 2024-05-15 at 1 24 54 PM

cc @yuvipanda who I suspect has an answer to this :)

@scottyhq
Copy link
Contributor Author

I just learned that 'open in a new browser tab works'!

image

@mrsiegfried
Copy link
Contributor

I just tried the open in new browser tab, but it gives me a 403... Did you find a work around for this?

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

2 participants