mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 22:13:00 +00:00
Fix some typos using codespell
.
And checking each manually. It's funny because one of the words in the sphinx custom dictionary was wrong :-)
This commit is contained in:
@@ -118,7 +118,7 @@ and tornado < 5.0.
|
|||||||
- Added "Start All" button to admin page for launching all user servers at once.
|
- Added "Start All" button to admin page for launching all user servers at once.
|
||||||
- Services have an `info` field which is a dictionary.
|
- Services have an `info` field which is a dictionary.
|
||||||
This is accessible via the REST API.
|
This is accessible via the REST API.
|
||||||
- `JupyterHub.extra_handlers` allows defining additonal tornado RequestHandlers attached to the Hub.
|
- `JupyterHub.extra_handlers` allows defining additional tornado RequestHandlers attached to the Hub.
|
||||||
- API tokens may now expire.
|
- API tokens may now expire.
|
||||||
Expiry is available in the REST model as `expires_at`,
|
Expiry is available in the REST model as `expires_at`,
|
||||||
and settable when creating API tokens by specifying `expires_in`.
|
and settable when creating API tokens by specifying `expires_in`.
|
||||||
|
@@ -70,7 +70,7 @@ Cmnd_Alias JUPYTER_CMD = /usr/local/bin/sudospawner
|
|||||||
rhea ALL=(JUPYTER_USERS) NOPASSWD:JUPYTER_CMD
|
rhea ALL=(JUPYTER_USERS) NOPASSWD:JUPYTER_CMD
|
||||||
```
|
```
|
||||||
|
|
||||||
It might be useful to modifiy `secure_path` to add commands in path.
|
It might be useful to modify `secure_path` to add commands in path.
|
||||||
|
|
||||||
As an alternative to adding every user to the `/etc/sudoers` file, you can
|
As an alternative to adding every user to the `/etc/sudoers` file, you can
|
||||||
use a group in the last line above, instead of `JUPYTER_USERS`:
|
use a group in the last line above, instead of `JUPYTER_USERS`:
|
||||||
|
@@ -125,7 +125,7 @@ sure are available, I can install their specs system-wide (in /usr/local) with:
|
|||||||
There are two broad categories of user environments that depend on what
|
There are two broad categories of user environments that depend on what
|
||||||
Spawner you choose:
|
Spawner you choose:
|
||||||
|
|
||||||
- Multi-user hosts (shared sytem)
|
- Multi-user hosts (shared system)
|
||||||
- Container-based
|
- Container-based
|
||||||
|
|
||||||
How you configure user environments for each category can differ a bit
|
How you configure user environments for each category can differ a bit
|
||||||
|
@@ -196,7 +196,7 @@ allocate. Attempting to use more memory than this limit will cause errors. The
|
|||||||
single-user notebook server can discover its own memory limit by looking at
|
single-user notebook server can discover its own memory limit by looking at
|
||||||
the environment variable `MEM_LIMIT`, which is specified in absolute bytes.
|
the environment variable `MEM_LIMIT`, which is specified in absolute bytes.
|
||||||
|
|
||||||
`c.Spawner.mem_guarantee`: Sometimes, a **guarantee** of a *minumum amount of
|
`c.Spawner.mem_guarantee`: Sometimes, a **guarantee** of a *minimum amount of
|
||||||
memory* is desirable. In this case, you can set `c.Spawner.mem_guarantee` to
|
memory* is desirable. In this case, you can set `c.Spawner.mem_guarantee` to
|
||||||
to provide a guarantee that at minimum this much memory will always be
|
to provide a guarantee that at minimum this much memory will always be
|
||||||
available for the single-user notebook server to use. The environment variable
|
available for the single-user notebook server to use. The environment variable
|
||||||
|
@@ -75,7 +75,7 @@ the top of all pages. The more specific variables
|
|||||||
`announcement_login`, `announcement_spawn`, `announcement_home`, and
|
`announcement_login`, `announcement_spawn`, `announcement_home`, and
|
||||||
`announcement_logout` are more specific and only show on their
|
`announcement_logout` are more specific and only show on their
|
||||||
respective pages (overriding the global `announcement` variable).
|
respective pages (overriding the global `announcement` variable).
|
||||||
Note that changing these varables require a restart, unlike direct
|
Note that changing these variables require a restart, unlike direct
|
||||||
template extension.
|
template extension.
|
||||||
|
|
||||||
You can get the same effect by extending templates, which allows you
|
You can get the same effect by extending templates, which allows you
|
||||||
|
@@ -166,7 +166,7 @@ startup
|
|||||||
statsd
|
statsd
|
||||||
stdin
|
stdin
|
||||||
stdout
|
stdout
|
||||||
stoppped
|
stopped
|
||||||
subclasses
|
subclasses
|
||||||
subcommand
|
subcommand
|
||||||
subdomain
|
subdomain
|
||||||
|
@@ -746,7 +746,7 @@ def new_session_factory(url="sqlite:///:memory:",
|
|||||||
Base.metadata.create_all(engine)
|
Base.metadata.create_all(engine)
|
||||||
|
|
||||||
# We set expire_on_commit=False, since we don't actually need
|
# We set expire_on_commit=False, since we don't actually need
|
||||||
# SQLAlchemy to expire objects after commiting - we don't expect
|
# SQLAlchemy to expire objects after committing - we don't expect
|
||||||
# concurrent runs of the hub talking to the same db. Turning
|
# concurrent runs of the hub talking to the same db. Turning
|
||||||
# this off gives us a major performance boost
|
# this off gives us a major performance boost
|
||||||
session_factory = sessionmaker(bind=engine,
|
session_factory = sessionmaker(bind=engine,
|
||||||
|
Reference in New Issue
Block a user