JupyterLite Schema v0#
a schema for user-serviceable customizaton of a JupyterLite
https://jupyterlite.readthedocs.org/en/latest/reference/schema-v0.html# |
JupyterLite Configuration#
a user-serviceable file for customizing a JupyterLite site
properties |
||
|
version of the schema to which the instance conforms |
|
type |
integer |
|
enum |
0 |
|
|
JupyterLab Settings Overrides#
A map of config objects keyed by @org/pkg:plugin which override the default settings. See https://jupyterlab.readthedocs.io/en/stable/user/directories.html#overridesjson
type |
object |
|
patternProperties |
||
|
A valid configuration which must conform to the plugin’s defined schema |
|
type |
object |
Jupyter Config Data#
contents of a jupyter-config-data <script>, as read by PageConfig. These well-known values may be augmented by other extensions.
properties |
|||
|
The application name, as would appear in a Help menu |
||
type |
string |
||
|
The version of the application |
||
type |
string |
||
|
base URL of this JupyterLite, must end in /, will be expanded by config-utils.js to include a leading / |
||
type |
string |
||
pattern |
.*/$ |
||
default |
./ |
||
format |
uri |
||
|
default app to load |
||
default |
./lab |
||
|
The name of the default kernel. If not available, the first kernel (by alphabetic ordering) will be chosen. |
||
type |
string |
||
default |
python |
||
|
browser tab icon to show |
||
type |
string |
||
default |
./lab/favicon.ico |
||
format |
uri |
||
|
|||
|
type |
array |
|
default |
|||
items |
|||
|
JupyterLab-compatible file types for serving and storing |
||
additionalProperties |
|||
|
path to federated extensions, a folder organized by ({:org}/){package} |
||
default |
./extensions |
||
|
path to MathJax2 assets |
||
type |
string |
||
default |
https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js |
||
format |
uri |
||
|
WebSocket URLs to use for finding WebRTC peers. Requires jupyterlab-webrtc-docprovider. |
||
type |
array |
||
default |
wss://signaling.yjs.dev |
||
wss://y-webrtc-signaling-eu.herokuapp.com |
|||
wss://y-webrtc-signaling-us.herokuapp.com |
|||
items |
type |
string |
|
format |
uri |
||
minItems |
1 |
||
|
a valid MathJax configuration blob, a comma-delimited list of MathJax profiles |
||
type |
string |
||
default |
TeX-AMS_CHTML-full,Safe |
||
|
relative path to built static assets |
||
default |
./build |
||
|
enable memory storage fallback which can lose data if the page is reloaded |
||
type |
boolean |
||
default |
False |
||
|
names of the localforage driver for contents, or null for the best available |
||
|
name used to store Jupyter contents in the browser |
||
type |
string |
||
default |
JupyterLite Storage |
||
|
names of the localforage driver for settings, or null for the best available |
||
|
name used to store Jupyter settings in the browser |
||
type |
string |
||
default |
JupyterLite Storage |
||
|
relative path to bundled schemas |
||
default |
./build/schemas |
||
|
relative path to bundled themes |
||
default |
./build/themes |
||
|
relative path to bundled licenses |
||
default |
./lab/api/licenses |
||
|
Lab extensions (or specific plugins) to disable |
||
type |
array |
||
items |
oneOf |
||
|
Additional configuration options for jupyterlite plugins, keyed by npm-compatible name |
||
type |
object |
||
additionalProperties |
type |
object |
|
|
The page corresponding the named Notebook Classic UI section |
||
anyOf |
an unknown notebook page |
||
type |
string |
||
a well-known notebook page |
|||
type |
string |
||
enum |
consoles, notebooks, edit, tree |
||
|
Whether to make the top-level Application instance available as |
||
type |
boolean |
||
default |
False |
||
|
Whether to enable collaborative editing over WebRTC. Should be paired with the |
||
type |
boolean |
||
default |
False |
A URI what doesn’t end in /#
type |
string |
pattern |
.*[^/]$ |
format |
uri |
A Federated Extension#
type |
object |
|
properties |
||
|
path to the extension module to load, relative to the extension’s package.json |
|
type |
string |
|
format |
uri |
|
|
path to the mime extension module to load, relative to the extension’s package.json |
|
type |
string |
|
format |
uri |
|
|
path to the WebPack 5-compatible remoteEntry*.js file describing the bundle |
|
type |
string |
|
format |
uri |
|
|
||
|
path to the optional style module provided by the extension |
|
type |
string |
|
format |
uri |
file-type#
description of a named contents file format, with extensions and mime types.
type |
object |
||
properties |
|||
|
type |
string |
|
|
type |
array |
|
items |
type |
string |
|
|
type |
array |
|
items |
type |
string |
|
pattern |
^\..+ |
||
|
type |
string |
|
enum |
base64, text, json |
An NPM Package Name#
package.json-compatible extension name, with an optional organization prefix. See dword-design/package-name-regex
type |
string |
pattern |
^(@[a-z0-9-~][a-z0-9-._~]*/)?[a-z0-9-~][a-z0-9-._~]*$ |
A JupyterLab Plugin#
a package.json-compatible extension name followed by a colon (:) and a specific plugin name
type |
string |
pattern |
^(@[a-z0-9-~][a-z0-9-._~]*/)?[a-z0-9-~][a-z0-9-._~]*:(.*)$ |
A LocalForage Driver Set#
anyOf |
detect |
|
choose the best available driver |
||
type |
null |
|
type |
array |
|
items |
A LocalForage Driver#
choose a storage driver from any number of localForage drivers
anyOf |
custom |
|
use a custom driver added by a third-party plugin |
||
type |
string |
|
IndexedDB |
||
use the broadly-compatible IndexedDB key/value persistent store |
||
type |
string |
|
enum |
asyncStorage |
|
WebSQL |
||
use the WebSQL persistent store |
||
type |
string |
|
enum |
webSQLStorage |
|
localStorage |
||
use the localStorage persistent store |
||
type |
string |
|
enum |
localStorageWrapper |
|
memory |
||
use the memory-based, volatile store: must be enabled with enableMemoryStorage |
||
type |
string |
|
enum |
localStorageWrapper |