Skip to content

Commit

Permalink
Add a warning about using it with several users on the same Jupyterla…
Browse files Browse the repository at this point in the history
…b instance, and show the configuration by default in formgrader
  • Loading branch information
brichet committed Jun 17, 2024
1 parent 7fafc39 commit 082ad41
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nbgrader/docs/source/configuration/nbgrader_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ Use Case 3: using config from a specific sub directory

.. warning::

This option should not be used with a JupyterHub installation, as it modifies
This option should not be used with a multiuser Jupyterlab instance, as it modifies
certain objects in the running instance, and can probably prevent other users
from using *formgrader* correctly. If you have a JupyterHub installation,
from using *formgrader* correctly. Also, if you have a JupyterHub installation,
you should use the settings described in the following section.

You may need to use a dedicated configuration file for each course without configuring
Expand Down
2 changes: 1 addition & 1 deletion nbgrader/server_extensions/formgrader/formgrader.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class FormgradeExtension(NbGrader):
description = u'Grade a notebook using an HTML form'

debug = Bool(
False,
True,
help=dedent(
"""
Whether to display the loaded configuration in the 'Formgrader ->
Expand Down
2 changes: 1 addition & 1 deletion schema/formgrader.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"local_config": {
"type": "boolean",
"title": "Allow local nbgrader config file",
"description": "This setting allow the use of a local config file for formgrader.",
"description": "This setting allows the use of a local config file for formgrader.\nWARNING: using the local configuration file has consequences for the server, it should not be used if several users are using the same instance of Jupyterlab.",
"default": false
}
},
Expand Down

0 comments on commit 082ad41

Please sign in to comment.