Skip to content

Commit 681d9c2

Browse files
committed
Add additional clarifying comments
1 parent fe1c1e1 commit 681d9c2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

jupyterhub_config.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,19 @@
88
from jupyterhub.spawner import SimpleLocalProcessSpawner
99

1010

11-
c.JupyterHub.spawner_class = SimpleLocalProcessSpawner
12-
1311
HERE = pathlib.Path(__file__).parent
1412

13+
# Add templates from our local checkout to the path JupyterHub searches
14+
# This allows us to override any template present in upstream
15+
# jupyterhub (https://github.com/jupyterhub/jupyterhub/tree/main/share/jupyterhub/templates)
16+
# locally
1517
c.JupyterHub.template_paths = [str(HERE / 'templates')]
1618

19+
# We use this so we can get a 'login' button, instead of a username / password
20+
# field.
1721
c.JupyterHub.authenticator_class = GenericOAuthenticator
1822

19-
c.Authenticator.admin_users = [
20-
'yuvipanda'
21-
]
22-
23+
# Variables that are passed through to templates!
2324
c.JupyterHub.template_vars = {
2425
'custom': {
2526
"interface_selector": True,

0 commit comments

Comments
 (0)