mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Add the jupyterhub-configurator service
This commit is contained in:
27
tljh/schemas/tljh_configurator.py
Normal file
27
tljh/schemas/tljh_configurator.py
Normal file
@@ -0,0 +1,27 @@
|
||||
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",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user