mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-10 09:02:14 +00:00
docs: fix typo in MOUNTED_DIRECTORIES guide (#1028)
This commit is contained in:
parent
431ddc97fb
commit
24e2f0d1f6
@ -160,7 +160,7 @@ It is quite possible that your package is not automatically recognized and bind-
|
|||||||
|
|
||||||
To do so, you will need to create a :ref:`Tutor plugin <plugin_development_tutorial>` that implements the :py:data:`tutor.hooks.Filters.MOUNTED_DIRECTORIES` filter::
|
To do so, you will need to create a :ref:`Tutor plugin <plugin_development_tutorial>` that implements the :py:data:`tutor.hooks.Filters.MOUNTED_DIRECTORIES` filter::
|
||||||
|
|
||||||
import tutor import hooks
|
from tutor import hooks
|
||||||
hooks.Filters.MOUNTED_DIRECTORIES.add_item(("openedx", "my-package"))
|
hooks.Filters.MOUNTED_DIRECTORIES.add_item(("openedx", "my-package"))
|
||||||
|
|
||||||
After you implement and enable that plugin, ``tutor mounts list`` should display your directory among the bind-mounted directories.
|
After you implement and enable that plugin, ``tutor mounts list`` should display your directory among the bind-mounted directories.
|
||||||
|
Loading…
Reference in New Issue
Block a user