Settings reference¶
The extension has one settings plugin, @jupyterlab-workshop/labextension:panel,
shown as Workshop in the JupyterLab settings editor. A learner changes
the personal settings there; an administrator sets the deployment ones
site-wide in overrides.json, JupyterLab’s file of setting overrides,
under that plugin key:
{
"@jupyterlab-workshop/labextension:panel": {
"defaultWorkshop": "",
"browseOnStart": true
}
}
The file is settings/overrides.json under JupyterLab’s application
directory, which is share/jupyter/lab in the environment JupyterLab
runs from; jupyter lab path prints it. Deploying workshops shows the combinations a
Binder image or a classroom uses.
Personal settings¶
Setting |
Type |
Default |
Meaning |
|---|---|---|---|
|
string |
|
Directory of the workshop to open when JupyterLab starts and no workshop was open before, relative to the JupyterLab root. Empty, the default, opens nothing. |
|
string |
|
Which sidebar the panel starts in, |
|
string |
|
Directory, relative to the JupyterLab root, that downloaded workshops are placed in and that the browser lists as installed; |
|
string |
|
The button selected by default in the trust dialog for a workshop with no stored decision: |
|
list |
|
Subscribed collections, whose workshops the browser offers: |
|
list |
|
Subscribed catalogs, whose collections the browser offers to subscribe to: |
|
object |
|
Workshop Author, the AI agent that writes your own workshops in a library; the keys are below. |
ai holds:
Key |
Type |
Default |
Meaning |
|---|---|---|---|
|
string |
|
The model a new Workshop Author conversation starts with, such as |
|
string |
|
The effort a new conversation starts with, |
Deployment settings¶
These are meant for overrides.json, though nothing stops a learner
setting them.
Setting |
Type |
Default |
Meaning |
|---|---|---|---|
|
boolean |
|
Open the workshop browser in place of the launcher, with both sidebars collapsed, when JupyterLab starts with no workshop to open or restore. See starting in the browser. |
|
object |
|
Administrator trust decisions; the keys are below. See settling trust. |
|
list |
|
Parts of the extension to remove, from |
|
object |
|
Deployment-wide reporting of progress events, ahead of anything a collection or workshop declares; the keys are below. See reporting progress. |
|
boolean |
|
Whether the |
|
string |
|
Path, relative to the JupyterLab root, of a Markdown file shown in a dialog when JupyterLab starts, once per browser for the server. See a welcome message. |
trustPolicy holds:
Key |
Type |
Default |
Meaning |
|---|---|---|---|
|
string or null |
|
When set, every workshop opens at this level and the trust dialog is not shown. |
|
list |
|
Source key prefixes that open as trusted without asking, such as |
|
list |
|
Capabilities that never run regardless of the trust level. |
analytics holds the same block a collection index or a manifest may
declare, plus identity, which only a deployment may set:
Key |
Type |
Default |
Meaning |
|---|---|---|---|
|
string |
|
URL that receives every workshop’s events as JSON lines by POST, without asking the learner. Empty reports to the sink a collection or a workshop declares, as |
|
string |
|
How a collection’s or a workshop’s sink applies when |
|
string |
|
Token sent as a bearer credential in the |
|
object |
|
Key and value pairs stamped on every event for slicing reports, such as a course or a term. At most 16; keys of lower case letters, digits, |
|
string |
|
Whether events carry the JupyterHub user name ( |
When sink is set here it applies to every workshop, without asking,
and ahead of any analytics block a subscribed collection or a workshop
manifest declares; those are used only when this setting names no sink,
and then as report says.
Events are always written to _workshop/events.jsonl in the workshop
directory whatever these say; see Progress events.