Skip to content

Commit 970932a

Browse files
committed
DOC: Enable jupyterlite-sphinx
1 parent 589f1f9 commit 970932a

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

docs/environment-sphinx.yml

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ dependencies:
4141
- sphinx-notfound-page
4242
- sphinx-togglebutton
4343
- sphinx
44+
- jupyterlite-sphinx
4445
- versioningit
4546
- nltk
4647
- scikit-image

docs/source/conf.py

+5
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"sphinx_togglebutton",
4343
"sphinx_copybutton",
4444
"notfound.extension",
45+
"jupyterlite_sphinx",
4546
]
4647

4748
templates_path = ["_templates"]
@@ -81,6 +82,10 @@
8182
"html_admonition",
8283
"colon_fence",
8384
]
85+
86+
# Jupyterlite configuration
87+
jupyterlite_contents = ["notebooks/"]
88+
8489
html_theme_options = {
8590
"show_toc_level": 2,
8691
"repository_url": "https://github.com/pipefunc/pipefunc",

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ docs = [
5656
"sphinx-notfound-page",
5757
"sphinx-togglebutton",
5858
"sphinx",
59+
"jupyterlite-sphinx",
5960
"versioningit",
6061
# Used for the example notebook
6162
"nltk",

0 commit comments

Comments
 (0)