mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Add note about creating jupyterhub_config.d directory
This commit is contained in:
@@ -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.
|
||||||
Reference in New Issue
Block a user