mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-06-07 08:30:48 +00:00
docs: improve plugin defaults
readability
This commit is contained in:
parent
c3e6f57b08
commit
ddcfab2ddb
|
@ -11,7 +11,7 @@ config
|
|||
The ``config`` attribute is used to modify existing and add new configuration parameters:
|
||||
|
||||
* ``config["add"]`` are key/values that should be added to the user-specific ``config.yml`` configuration. Add there passwords, secret keys and other values that do not have a default value.
|
||||
* ``config["defaults"]`` are default key/values for this plugin. These values will not be added to the ``config.yml`` user file unless users override them manually with ``tutor config save --set ...``.
|
||||
* ``config["defaults"]`` are default key/values for this plugin. These values can be accessed even though they are not added to the ``config.yml`` user file. Users can override them manually with ``tutor config save --set ...``.
|
||||
* ``config["set"]`` are existing key/values that should be modified. Be very careful what you add there! Different plugins may define conflicting values for some parameters.
|
||||
|
||||
"add" and "defaults" key names will be automatically prefixed with the plugin name, in upper case.
|
||||
|
|
Loading…
Reference in New Issue
Block a user