From fa25724856d33441ec33ece086ca3b21151f99a8 Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Mon, 11 Mar 2024 13:36:56 -0600 Subject: [PATCH] doc cleanup --- docs/source/170_hooks.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/source/170_hooks.rst b/docs/source/170_hooks.rst index a55e35476..5560b8124 100644 --- a/docs/source/170_hooks.rst +++ b/docs/source/170_hooks.rst @@ -200,9 +200,10 @@ Registering Multiple Hook functions ----------------------------------- Lmod 8.7.35+ supports sites registering multiple functions for a -single hook. For example, a site may wish to register more than one -load hook. The function **hook.register()** now takes an optional -third argument to control how the functions are evaluated:: +single hook. The function **hook.register()** now takes an optional +third argument to control how the functions are evaluated. +For example, a site may wish to register more than one +load hook:: local function load_hook_a(t) local frameStk = require("FrameStk"):singleton()