Infrastructure Layer Document HowTo
This is how docs are generated for both WWW and infman.    In the inf/docs directory, copy template.xml to the name of the layer you want to document and make the first letter a capital, like "Barf.xml".    The template file will have five different XML Tags: MODULE, DESCRIPTION, FUNCTION, TYPE, and ARG.    Each tag must be enclosed in < and > (like <MODULE NAME="Barf">) and be matched by a corresponding tag of the same name but preceeded by a forward slash (like </MODULE>).    The three tags MODULE, FUNCTION, and ARG are followed by the attribute NAME="xxx" (the name xxx must be enclosed in double quotes '"').
The basic structure is:

<MODULE NAME="Barf"> Module tag with module name.
<DESCRIPTION> Beginning of the module descritpion.
     </DESCRIPTION>
     <FUNCTION NAME="doSomething"> Beginning of a function definition with the function name.
         <TYPE>char*</TYPE> Function type.
         <ARG NAME="wicked"> Beginning of the first function argument.
             <TYPE>int</TYPE> Function type.
         </ARG>
         <DESCRIPTION> Beginning of function description.
         </DESCRIPTION>
     </FUNCTION> End of function definition.
</MODULE> End of Module definition.

The FUNCTION block may be repeated, the MODULE block may only be used once.
Since these are destined to rendered as HTML you may use HTML Tags but the leading < must be escaped with a \ (backslash).   
Edit the makefile adding Barf.xml to the definition of XML about line 20.    Run the command make docs and be sure there are no errors, then open up a www browser window for the file Barf.html, in this directory.