Skip to content

Commit

Permalink
PR #696: yet more updated docs and code for hook.register() functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Mar 12, 2024
1 parent f1da5e5 commit 377a7af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/source/170_hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 377a7af

Please sign in to comment.