mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
28 lines
949 B
Python
28 lines
949 B
Python
from jupyterhub_configurator.hooks import hookimpl
|
|
|
|
@hookimpl
|
|
def jupyterhub_configurator_fields():
|
|
return {
|
|
"schema.default_interface": {
|
|
"type": "string",
|
|
"traitlet": "Spawner.default_url",
|
|
"title": "Default User Interface",
|
|
"enum": ["/tree", "/lab", "/nteract"],
|
|
"default": "/tree",
|
|
"enumMetadata": {
|
|
"/tree": {
|
|
"title": "Classic Notebook",
|
|
"description": "The original single-document interface for creating Jupyter Notebooks.",
|
|
},
|
|
"/lab": {
|
|
"title": "JupyterLab",
|
|
"description": "A Powerful next generation notebook interface",
|
|
},
|
|
"/nteract": {
|
|
"title": "Nteract",
|
|
"description": "Nteract notebook interface",
|
|
},
|
|
},
|
|
}
|
|
}
|