Convert Jupyter Notebooks into runnable HTML files with Juniper (https://github.com/ines/juniper).
Project description
sphinx-juniper
Integrate interactive code blocks into your documentation with Juniper and Binder.
Install
To install sphinx-juniper first clone and install it:
pip install sphinx-juniper
Then, add it to your Jupyter Book's _config.yml file:
(to use all default values)
sphinx:
extra_extensions:
- sphinx_juniper
config:
juniper: true
To override any/all defaults:
sphinx:
extra_extensions:
- sphinx_juniper
config:
juniper:
url: https://mybinder.org # BinderHub instance
repo: ashtonmv/python_binder # Github repository for Binder image
theme: monokai # Styling (only monokai and material supported for now)
isolateCells: false # Whether to share variables between cells
useStorage: true # Cache the kernel connection between page loads
...
etc.
...
Similar to BinderHub links and Colab links, sphinx-juniper only acts on Ipython Notebooks included in your documentation! It adds a button to the "launch_buttons" (the one with a rocket on it) dropdown menu for these pages at the top. Clicking this button will start the connection to the kernel you've configured based on the settings in _config.yml above.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinx-juniper-0.0.3.tar.gz.
File metadata
- Download URL: sphinx-juniper-0.0.3.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.7.8 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4fde5c3ff51619a12f2a5bcbd40b634d8d8b73c10ff21451c4aeb5982119bf4
|
|
| MD5 |
9efadce321c085ab32a6c7eab4b17b39
|
|
| BLAKE2b-256 |
8fed74959432ab17faa90a81fdd6073308a88f89c10c3ae25648d226d24564e8
|
File details
Details for the file sphinx_juniper-0.0.3-py3-none-any.whl.
File metadata
- Download URL: sphinx_juniper-0.0.3-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.7.8 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39fa2faaf2637a2d78154d2b7e12905b8d8f2d75af48f519316366fcb2f46c04
|
|
| MD5 |
0cf3d79b7dee8adc2dc7dcec37b71283
|
|
| BLAKE2b-256 |
1bc8ea99f56faa2c7423868f469c802069b787684daf2f9015ca8435d41935b3
|