From 377a7af1230cb61ff7c9ecd3ff38d8a6d00fbcc8 Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Tue, 12 Mar 2024 16:01:30 -0600 Subject: [PATCH] PR #696: yet more updated docs and code for hook.register() functions --- docs/source/170_hooks.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/source/170_hooks.rst b/docs/source/170_hooks.rst index a8869dbbc..bcf1f0139 100644 --- a/docs/source/170_hooks.rst +++ b/docs/source/170_hooks.rst @@ -89,8 +89,7 @@ Hook tips Hook functions -------------- -The following is the list of hooks supported by Lmod. Use of these -hooks assumes a some familarity with Lmod's code. To use these hooks +The following is the list of hooks supported by Lmod. To use these hooks will require some Lua coding expertise and studying how the hooks are used in the Lmod program. @@ -162,7 +161,7 @@ used in the Lmod program. isVisible (boolean) of the module. **reverseMapPathFilter** (keepA, ignoreA): - (Returns: 2 arrays: keepA, ignoreA) + (Returns: 2 arrays) This hook returns two arrays: *keepA* and *ignoreA*. The *keepA* is an array of paths patterns that a site wishes to be stored in the spider cache. The *ignoreA* is an array of path patterns to ignore in the