added documentation for new attributes "run" and "disable_inclusion"

azivner 2018-03-04 22:07:42 -05:00
parent 63927ca8d1
commit 4997024457

@ -36,4 +36,10 @@ Following attributes are used for advanced configuration:
* ```calendar_root``` - marks note which should be used as root for "day notes". Only one should be marked as such.
* ```run_on_startup``` - JavaScript notes with this attribute will be executed after Trilium startup
* ```hide_in_autocomplete``` - notes with this attribute won't be visible in autocomplete-based search (jump to, add link). Applies also to all its sub-notes.
* ```exclude_from_export``` - notes (with their sub-tree) won't be included in any note export
* ```exclude_from_export``` - notes (with their sub-tree) won't be included in any note export
* ```run``` - defines on which events script should run. Possible values are:
* ```frontend_startup``` - when Trilium frontend starts up (or is refreshed).
* ```backend_startup``` - when Trilium backend starts up
* ```hourly``` - run once an hour
* ```daily``` - run once a day
* ```disable_inclusion``` - scripts with this attribute won't be included into parent script execution.