summaryrefslogtreecommitdiff
path: root/docs/source/configuration/hooks.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/configuration/hooks.rst')
-rw-r--r--docs/source/configuration/hooks.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/source/configuration/hooks.rst b/docs/source/configuration/hooks.rst
index 0b2b6a23..5d201328 100644
--- a/docs/source/configuration/hooks.rst
+++ b/docs/source/configuration/hooks.rst
@@ -5,7 +5,8 @@ Hooks
Hooks are python callables that live in a module specified by `hooksfile` in
the config. Per default this points to :file:`~/.config/alot/hooks.py`.
-.. rubric:: Pre/Post Command Hooks
+Pre/Post Command Hooks
+----------------------
For every :ref:`COMMAND <usage.commands>` in mode :ref:`MODE <modes>`, the
callables :func:`pre_MODE_COMMAND` and :func:`post_MODE_COMMAND` -- if defined
@@ -36,7 +37,8 @@ message::
else:
logging.info('goodbye!')
-.. rubric:: Other Hooks
+Other Hooks
+-----------
Apart from command pre- and posthooks, the following hooks will be interpreted: