Skip to content

Commit f5d01e7

Browse files
authored
Add docs for multi-env support (#202)
1 parent e7b16e0 commit f5d01e7

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docs/environment.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,16 @@ dependencies:
7272
- numpy
7373
```
7474
75+
### Multi environment support
76+
77+
Starting with jupyterlite-xeus v4.0.0a0, you can now pass multiple environment files or prefixes.
78+
79+
```
80+
jupyter lite build --XeusAddon.environment_file=environment-python.yml --XeusAddon.environment_file=environment-r.yml
81+
```
82+
83+
⚠ This feature is experimental, installing the same kernel in two environments does not work currently. This feature is only useful for e.g. splitting a R environment from a Python environment ⚠
84+
7585
### pip packages
7686

7787
⚠ This feature is experimental. You won't have the same user-experience as when using conda/mamba in a "normal" setup ⚠

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ Try it here!
7777
.. replite::
7878
:kernel: xcpp20
7979
:height: 600px
80+
:prompt: Try C++!
8081
8182
#include <stdio.h>
8283
#include <math.h>

0 commit comments

Comments
 (0)