mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-08 02:24:08 +00:00

apologies to anyone finding this commit via git blame or log run the autoformatting by pre-commit run --all-files
17 lines
402 B
Python
17 lines
402 B
Python
import sys
|
|
|
|
# To run the announcement service managed by the hub, add this.
|
|
|
|
c.JupyterHub.services = [
|
|
{
|
|
'name': 'announcement',
|
|
'url': 'http://127.0.0.1:8888',
|
|
'command': [sys.executable, "-m", "announcement"],
|
|
}
|
|
]
|
|
|
|
# The announcements need to get on the templates somehow, see page.html
|
|
# for an example of how to do this.
|
|
|
|
c.JupyterHub.template_paths = ["templates"]
|