diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3180de97..437aa0d2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -150,6 +150,13 @@ To build Jupyter Lite with this kernel without creating a website you can execut micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge micromamba activate xeus-lite-host jupyter lite build --XeusAddon.prefix=$PREFIX + --XeusAddon.mounts="$PREFIX/share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \ + --XeusAddon.mounts="$PREFIX/etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \ + --contents README.md \ + --contents notebooks/xeus-cpp-lite-demo.ipynb \ + --contents notebooks/smallpt.ipynb \ + --contents notebooks/images/marie.png \ + --contents notebooks/audio/audio.wav ``` Once the Jupyter Lite site has built you can test the website locally by executing diff --git a/README.md b/README.md index d2ec051c..c1843aef 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,14 @@ To build Jupyter Lite with this kernel without creating a website you can execut ```bash micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge micromamba activate xeus-lite-host -jupyter lite build --XeusAddon.prefix=$PREFIX +jupyter lite build --XeusAddon.prefix=$PREFIX + --XeusAddon.mounts="$PREFIX/share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \ + --XeusAddon.mounts="$PREFIX/etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \ + --contents README.md \ + --contents notebooks/xeus-cpp-lite-demo.ipynb \ + --contents notebooks/smallpt.ipynb \ + --contents notebooks/images/marie.png \ + --contents notebooks/audio/audio.wav ``` Once the Jupyter Lite site has built you can test the website locally by executing diff --git a/docs/source/InstallationAndUsage.rst b/docs/source/InstallationAndUsage.rst index a151c5b3..6b22d268 100644 --- a/docs/source/InstallationAndUsage.rst +++ b/docs/source/InstallationAndUsage.rst @@ -133,6 +133,13 @@ To build Jupyter Lite with this kernel without creating a website you can execut micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge micromamba activate xeus-lite-host jupyter lite build --XeusAddon.prefix=$PREFIX + --XeusAddon.mounts="$PREFIX/share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \ + --XeusAddon.mounts="$PREFIX/etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \ + --contents README.md \ + --contents notebooks/xeus-cpp-lite-demo.ipynb \ + --contents notebooks/smallpt.ipynb \ + --contents notebooks/images/marie.png \ + --contents notebooks/audio/audio.wav Once the Jupyter Lite site has built you can test the website locally by executing