Skip to content

Commit 62ad153

Browse files
authored
Merge pull request #3540 from jasongrout/jlitecontents
Fix jupyterlite_contents
2 parents 1c00fdc + c483387 commit 62ad153

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

docs/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ dependencies:
2626
- sympy
2727
- pip:
2828
- jupyterlite==0.1.0b11
29-
- jupyterlite-sphinx>=0.7.0
29+
- jupyterlite-sphinx~=0.7.2

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ scikit-image
1515
scikit-learn
1616
sympy
1717
jupyterlite==0.1.0b11
18-
jupyterlite-sphinx>=0.7.0
18+
jupyterlite-sphinx~=0.7.2

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,12 @@ def on_config_inited(*args):
160160
IPYW = ROOT / "python/ipywidgets"
161161
subprocess.check_call([sys.executable, "-m", "build"], cwd=str(IPYW))
162162

163+
WIDG = ROOT / "python/widgetsnbextension"
164+
subprocess.check_call([sys.executable, "-m", "build"], cwd=str(WIDG))
165+
163166
JLW = ROOT / "python/jupyterlab_widgets"
164167
subprocess.check_call(["jupyter", "labextension", "build", "."], cwd=str(JLW))
168+
subprocess.check_call([sys.executable, "-m", "build"], cwd=str(JLW))
165169

166170
def setup(app):
167171
app.connect("config-inited", on_config_inited)

docs/source/jupyter_lite_config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"ignore_sys_prefix": true,
1616
"piplite_urls": [
1717
"../../python/ipywidgets/dist",
18+
"../../python/widgetsnbextension/dist",
19+
"../../python/jupyterlab_widgets/dist",
1820
"https://files.pythonhosted.org/packages/py2.py3/a/asttokens/asttokens-2.0.5-py2.py3-none-any.whl",
1921
"https://files.pythonhosted.org/packages/py2.py3/b/backcall/backcall-0.2.0-py2.py3-none-any.whl",
2022
"https://files.pythonhosted.org/packages/py2.py3/b/bqplot/bqplot-0.12.33-py2.py3-none-any.whl",
@@ -68,7 +70,6 @@
6870
"https://files.pythonhosted.org/packages/py3/t/traitlets/traitlets-5.1.1-py3-none-any.whl",
6971
"https://files.pythonhosted.org/packages/py3/t/typing_extensions/typing_extensions-4.1.1-py3-none-any.whl",
7072
"https://files.pythonhosted.org/packages/py3/v/vega-datasets/vega_datasets-0.9.0-py3-none-any.whl",
71-
"https://files.pythonhosted.org/packages/py3/w/widgetsnbextension/widgetsnbextension-4.0.0rc1-py3-none-any.whl",
7273
"https://files.pythonhosted.org/packages/py3/x/xyzservices/xyzservices-2022.2.0-py3-none-any.whl"
7374
]
7475
}

0 commit comments

Comments
 (0)