From 28e6b510c0690ed49e4903aa97cee03d7674a9be Mon Sep 17 00:00:00 2001 From: mcbarton Date: Tue, 1 Jul 2025 12:58:15 +0100 Subject: [PATCH] Fix Jupyter Lite serve instruction --- CONTRIBUTING.md | 4 +++- README.md | 4 +++- docs/source/InstallationAndUsage.rst | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ee4d6ba5..650bf8e7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -161,5 +161,7 @@ jupyter lite build --XeusAddon.prefix=$PREFIX \ Once the Jupyter Lite site has built you can test the website locally by executing ```bash -jupyter lite serve --XeusAddon.prefix=$PREFIX +jupyter lite serve --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" ``` diff --git a/README.md b/README.md index 5c8afabc..2cdab470 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,9 @@ jupyter lite build --XeusAddon.prefix=$PREFIX \ Once the Jupyter Lite site has built you can test the website locally by executing ```bash -jupyter lite serve --XeusAddon.prefix=$PREFIX +jupyter lite serve --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" ``` ## Trying it online diff --git a/docs/source/InstallationAndUsage.rst b/docs/source/InstallationAndUsage.rst index 6b22d268..611326c5 100644 --- a/docs/source/InstallationAndUsage.rst +++ b/docs/source/InstallationAndUsage.rst @@ -145,7 +145,9 @@ Once the Jupyter Lite site has built you can test the website locally by executi .. code-block:: bash - jupyter lite serve --XeusAddon.prefix=$PREFIX + jupyter lite serve --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" Installing from conda-forge ===========================