The attached file is the completed help system (except for making the paths configurable). The following directory structure is assumed:
LuaRT is installed to C:\LuaRT and has the following subdirectories: lib, for .lua and .wlua files; clib for .dll files; and user for user scripts (in subdirectories of user).
With the next release where Directory:make() bug is fixed, I will create a simple configuration tool to specify the search paths, so any paths the user wishes can be searched.
But the code as given correctly generates help files from templates, in text or html format as requested, with working hyperlinks when a html help file is viewed in a browser.
[[Login to see the link]]