Add hook for custom jupyterhub_config.py content

This lets extensions directly control how JupyterHub
is configured
This commit is contained in:
yuvipanda
2019-05-31 23:35:08 -07:00
parent 77dc6a0e27
commit b584bd1b2a
4 changed files with 27 additions and 2 deletions

View File

@@ -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):