mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Add hook for custom jupyterhub_config.py content
This lets extensions directly control how JupyterHub is configured
This commit is contained in:
@@ -38,6 +38,15 @@ def tljh_extra_apt_packages():
|
||||
"""
|
||||
pass
|
||||
|
||||
@hookspec
|
||||
def tljh_custom_jupyterhub_config(c):
|
||||
"""
|
||||
Provide custom traitlet based config to JupyterHub.
|
||||
|
||||
Anything you can put in `jupyterhub_config.py` can
|
||||
be here.
|
||||
"""
|
||||
pass
|
||||
|
||||
@hookspec
|
||||
def tljh_config_post_install(config):
|
||||
|
||||
Reference in New Issue
Block a user