Skip to content

Commit d6471b9

Browse files
mcbartonvgvassilev
authored andcommitted
Add smallpt example to deployment
1 parent 102762c commit d6471b9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ jobs:
241241
micromamba create -n xeus-lite-host jupyterlite-core -c conda-forge
242242
micromamba activate xeus-lite-host
243243
python -m pip install jupyterlite-xeus jupyterlite-core jupyterlab notebook libarchive-c
244-
jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --contents notebooks/xeus-cpp-lite-demo.ipynb --contents notebooks/images/marie.png --contents notebooks/audio/audio.wav --output-dir dist
244+
jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --contents notebooks/xeus-cpp-lite-demo.ipynb --contents notebooks/smallpt.ipynb --contents notebooks/images/marie.png --contents notebooks/audio/audio.wav --output-dir dist
245245
246246
- name: Upload artifact
247247
uses: actions/upload-pages-artifact@v3

Emscripten-build-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ cd ../..
319319
micromamba create -n xeus-lite-host jupyterlite-core -c conda-forge
320320
micromamba activate xeus-lite-host
321321
python -m pip install jupyterlite-xeus jupyter_server
322-
jupyter lite build --XeusAddon.prefix=$PREFIX --contents xeus-cpp/notebooks/xeus-cpp-lite-demo.ipynb
322+
jupyter lite build --XeusAddon.prefix=$PREFIX --contents xeus-cpp/notebooks/xeus-cpp-lite-demo.ipynb --contents notebooks/smallpt.ipynb --contents notebooks/images/marie.png --contents notebooks/audio/audio.wav
323323
```
324324

325325
Once the Jupyter Lite site has built you can test the website locally by executing

docs/Emscripten-build-instructions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ for testing execute the following
344344
micromamba create -n xeus-lite-host jupyterlite-core -c conda-forge
345345
micromamba activate xeus-lite-host
346346
python -m pip install jupyterlite-xeus jupyter_server
347-
jupyter lite build --XeusAddon.prefix=$PREFIX --contents xeus-cpp/notebooks/xeus-cpp-lite-demo.ipynb
347+
jupyter lite build --XeusAddon.prefix=$PREFIX --contents xeus-cpp/notebooks/xeus-cpp-lite-demo.ipynb --contents notebooks/smallpt.ipynb --contents notebooks/images/marie.png --contents notebooks/audio/audio.wav
348348
349349
Once the Jupyter Lite site has built you can test the website locally by
350350
executing

0 commit comments

Comments
 (0)