Add note about creating jupyterhub_config.d directory

This commit is contained in:
yuvipanda
2018-08-02 10:57:26 -07:00
parent c5fc1a70d7
commit 0da615ce5a

View File

@@ -7,10 +7,11 @@ Custom ``jupyterhub_config.py`` snippets
Sometimes you need to customize TLJH in ways that are not officially supported. Sometimes you need to customize TLJH in ways that are not officially supported.
We provide an easy escape hatch for those cases with a ``jupyterhub_conf.d`` We provide an easy escape hatch for those cases with a ``jupyterhub_conf.d``
directory that lets you load multiple ``jupyterhub_config.py`` snippets for directory that lets you load multiple ``jupyterhub_config.py`` snippets for
your configuration. your configuration. You need to create the directory when you use it for
the first time.
Any files in ``/opt/tljh/jupyterhub_config.d`` that end in ``.py`` will be Any files in ``/opt/tljh/jupyterhub_config.d`` that end in ``.py`` will be
loaded in alphabetical order as python files to provide configuration for loaded in alphabetical order as python files to provide configuration for
JupyterHub. Any config that can go in a regular ``jupyterhub_config.py`` JupyterHub. Any config that can go in a regular ``jupyterhub_config.py``
file is valid in these files. They will be loaded *after* any of the config file is valid in these files. They will be loaded *after* any of the config
options specified by TLJH are loaded. options specified with ``tljh-config`` are loaded.