Thebelab support

Thebelab support#

To turn on thebelab, specify its configuration directly in conf.py:

jupyter_sphinx_thebelab_config = {
    "requestKernel": True,
    "binderOptions": {
        "repo": "binder-examples/requirements",
    },
}

With this configuration, thebelab is activated with a button click:

By default the button is added at the end of the document, but it may also be inserted anywhere using

.. thebe-button:: Optional title