mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 06:52:59 +00:00
Reformat docstring causing Sphinx error
This commit is contained in:
@@ -356,14 +356,14 @@ class Spawner(LoggingConfigurable):
|
||||
|
||||
This can be set independent of any concrete spawner implementation.
|
||||
|
||||
Example:
|
||||
Example::
|
||||
|
||||
from subprocess import check_call
|
||||
def my_hook(spawner):
|
||||
username = spawner.user.name
|
||||
check_call(['./examples/bootstrap-script/bootstrap.sh', username])
|
||||
from subprocess import check_call
|
||||
def my_hook(spawner):
|
||||
username = spawner.user.name
|
||||
check_call(['./examples/bootstrap-script/bootstrap.sh', username])
|
||||
|
||||
c.Spawner.pre_spawn_hook = my_hook
|
||||
c.Spawner.pre_spawn_hook = my_hook
|
||||
|
||||
"""
|
||||
).tag(config=True)
|
||||
|
Reference in New Issue
Block a user