Skip to content

Commit 28e6b51

Browse files
authored
Fix Jupyter Lite serve instruction
1 parent 7a3a24b commit 28e6b51

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,7 @@ jupyter lite build --XeusAddon.prefix=$PREFIX \
161161

162162
Once the Jupyter Lite site has built you can test the website locally by executing
163163
```bash
164-
jupyter lite serve --XeusAddon.prefix=$PREFIX
164+
jupyter lite serve --XeusAddon.prefix=$PREFIX \
165+
--XeusAddon.mounts="$PREFIX/share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \
166+
--XeusAddon.mounts="$PREFIX/etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d"
165167
```

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@ jupyter lite build --XeusAddon.prefix=$PREFIX \
173173

174174
Once the Jupyter Lite site has built you can test the website locally by executing
175175
```bash
176-
jupyter lite serve --XeusAddon.prefix=$PREFIX
176+
jupyter lite serve --XeusAddon.prefix=$PREFIX \
177+
--XeusAddon.mounts="$PREFIX/share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \
178+
--XeusAddon.mounts="$PREFIX/etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d"
177179
```
178180

179181
## Trying it online

docs/source/InstallationAndUsage.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ Once the Jupyter Lite site has built you can test the website locally by executi
145145

146146
.. code-block:: bash
147147
148-
jupyter lite serve --XeusAddon.prefix=$PREFIX
148+
jupyter lite serve --XeusAddon.prefix=$PREFIX \
149+
--XeusAddon.mounts="$PREFIX/share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \
150+
--XeusAddon.mounts="$PREFIX/etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d"
149151
150152
Installing from conda-forge
151153
===========================

0 commit comments

Comments
 (0)