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.
Release files for sphinx-juniper 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sphinx-juniper-0.0.5.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sphinx_juniper-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.3 kB
Release files / sphinx-juniper-0.0.5.tar.gz
| Download URL | sphinx-juniper-0.0.5.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e93b3da4ad2622f76b1883da7843188f2f4bea641d4634774fa3fa19f421889
|
|
BLAKE2b-256 checksum How to use checksums |
91b1597b0702cdc3b5c260786773e02a3467f3173c59e577f66b3b6203da0025
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.7.8 Darwin/19.6.0
|
Release files / sphinx_juniper-0.0.5-py3-none-any.whl
| Download URL | sphinx_juniper-0.0.5-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5dfa43b931e724afff4856c0933ea2408df529c849887190f51bce457ec1478a
|
|
BLAKE2b-256 checksum How to use checksums |
f6642b916ff09cb1b40f931c9df4669b2a8e89186a6ebcda06dda255168e4f80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.7.8 Darwin/19.6.0
|