--- work/mdocml-1.13.3/man.cgi.8 2015-03-13 12:38:38.000000000 +0000 +++ man.cgi.8 2015-10-22 19:20:42.000000000 +0000 @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 14 2014 $ +.Dd $Mdocdate: October 23 2015 $ .Dt MAN.CGI 8 .Os .Sh NAME @@ -158,6 +158,26 @@ to create a .Xr mandoc.db 5 database inside each manpath. .Pp +You can optionally create a file +.Pa /var/www/man/begin.html +containing HTML code that will be inserted as-is right after +the +.Aq BODY +element. +It mimics the behaviour of the +.Ev CUSTOMIZE_BEGIN +compile-time option, +except that the string is obtained through the file rather than +specified during the compilation step. +A similar file called +.Pa /var/www/man/end.html +will insert its HTML content right before the +.Aq /BODY +element, +in the same way the +.Ev CUSTOMIZE_END +compile-time option would do. +.Pp Configure your web server to execute CGI programs located in .Pa /cgi-bin . When using @@ -191,6 +211,10 @@ This is used in generated HTML code. A HTML string to be inserted right after opening the .Aq BODY element. +.It Ev CUSTOMIZE_END +A HTML string to be inserted right before closing the +.Aq BODY +element. .It Ev CUSTOMIZE_TITLE An ASCII string to be used for the HTML .Aq TITLE