-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Set up jupyterhub for alpha-preview #188
Comments
This is done. I set up a jupyterhub with jupyter lab as default framework, updating the hosted version to mitiq v0.1a1 and building the html docs, for all users. This is found in the my_shared_data folder, which is a read only folder, although the users can use the rest of the home path to add notebooks or scripts. We agreed upon having the getting started from the docs as tutorial. The only problem is that html files do not render well in jupyter notebooks or in jupyter lab. There may be some css information missing or something like that, so that, for example, the rtd_theme we use for the docs does not render, and we see only a bare text html. This can be only partly solved by using, inside a notebook, from IPython.core.display import display, HTML
display(HTML('guide/guide_02-getting-started.html')) as this option still can make some visualization issues. Also, links are not clickable within a jupyter notebook. Of course rendering an html should not be a problem on a server, but we interface with it directly through jupyterhub. My advice is as following:
|
A simple option to share the html docs, while keeping mitiq private, could be GitHub Pages: |
I like this suggestion, @andreamari. Interested in what @willzeng and @rmlarose think. To avoid issues, I am playing with this feature (publishing a github pages website on a private repo referring to the The outcome should be visible at https://nathanshammah.github.io/mitiq/. This is not working right now, even if I chose a Jekyll theme, as suggested on the Github community forum. An open issue seems to pinpoint the incompatibility with sphinx directory choice. The workaround seems to add a mock |
This tweak worked for me. Have a look now: https://nathanshammah.github.io/mitiq. This is satisfying as it is for me, and closes the issue for me. I'm fine even in letting my personal website link to this in the workshop. And we can tear it down afterwards. I'd need to check that the current master is synced with the By the way: before adding the |
Have a look at this super lean style: https://nathanshammah.github.io/mitiq/build/html/guide/guide_02-getting-started.html |
These docs look great @nathanshammah I like that theme a lot |
Set up a jupyter hub on UF’s google console. Users will login to their environments.
JupyterLab can be used as start-up environment.
The workshop attendees can find there:
The text was updated successfully, but these errors were encountered: