Skip to main content

Embed interactive JupyterLite notebooks in your MkDocs site.

Project description

mkdocs-jupyterlite

A MkDocs plugin that enables embedding interactive jupyterlite notebooks in your docs.

Say you have a notebook example.ipynb in your awesome project, and you want users to be able to play around with it. In the past, you could use a tool like Binder to achieve this. But, that requires a full docker environment and a remote server. By using JupyterLite, you can run Jupyter notebooks directly in the browser without any server-side dependencies.

However, to use jupyterlite, you have to manually install jupyterlite and then run a build step to package your notebooks, other files, and python dependencies into a single static site.

This plugin automates that process for you.

Installation

  1. Install the plugin
pip install mkdocs-jupyterlite
  1. Configure in your mkdocs.yml file
plugins:
  - search
  - mkdocstrings
  - etc
  - jupyterlite:
      enabled: true
      notebook_patterns:
        - "**/*.ipynb"
      pip_urls:
        - "https://pypi.org/simple"

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

mkdocs_jupyterlite-0.1.0.tar.gz (78.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_jupyterlite-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_jupyterlite-0.1.0.tar.gz.

File metadata

  • Download URL: mkdocs_jupyterlite-0.1.0.tar.gz
  • Upload date:
  • Size: 78.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mkdocs_jupyterlite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a1af9c8e057da1df70917ed9615cf2b07a724c95dcf760db5e455146ad4bcab4
MD5 dea225e574f0f3c774e7a56b122217e9
BLAKE2b-256 fec6debfa2c546c0fd246831801960a6902374fca9599537822c22cea3f6a736

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_jupyterlite-0.1.0.tar.gz:

Publisher: publish.yml on NickCrews/mkdocs-jupyterlite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mkdocs_jupyterlite-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_jupyterlite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0824c72b6ae28a70b25d0abb5c05d1ac6890e6f731f9cfd0438a979680a63399
MD5 49950c600059e3bf06a620d86d085778
BLAKE2b-256 b08d6a17f2314df8237b4a2ee761d0e78edbc458636a510528e5ad4da7a291f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_jupyterlite-0.1.0-py3-none-any.whl:

Publisher: publish.yml on NickCrews/mkdocs-jupyterlite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page