jupyter / nbgrader

A system for assigning and grading notebooks
https://nbgrader.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.3k stars 317 forks source link

Fix documentation on enabling and disabling labextensions #1921

Closed ykazakov closed 1 month ago

ykazakov commented 2 months ago

In version 0.9.3 the location of labextensions has changed from nbgrader to @jupyter/nbgrader. #1893

Hence enabling and disabling of labextensions should now be done with this prefix:

jupyter labextension disable @jupyter/nbgrader:formgrader
jupyter labextension disable @jupyter/nbgrader:assignment-list
jupyter labextension disable @jupyter/nbgrader:course-list
jupyter labextension disable @jupyter/nbgrader:create-assignment
jupyter labextension disable @jupyter/nbgrader:validate-assignment

...

jupyter labextension enable --level=user @jupyter/nbgrader
jupyter server extension enable --user --py nbgrader

...

jupyter labextension disable --level=sys_prefix @jupyter/nbgrader:assignment-list
jupyter server extension disable --sys-prefix nbgrader.server_extensions.assignment_list
brichet commented 1 month ago

Thanks @ykazakov for opening this, #1927 should fix it.

brichet commented 1 month ago

Fixed by #1927