X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/d9185f3a7e64879ce99ac3ca8bc64f23cca30ae0..ceb789e8c209de0155af4075ea6a1438576dc375:/man.cgi.7 diff --git a/man.cgi.7 b/man.cgi.7 index 339616fb..ec927ca9 100644 --- a/man.cgi.7 +++ b/man.cgi.7 @@ -1,4 +1,4 @@ -.Dd $Mdocdate: December 10 2011 $ +.Dd $Mdocdate: July 13 2013 $ .Dt MAN.CGI 7 .Os .Sh NAME @@ -70,10 +70,14 @@ If no manroot is specified during search, the first manroot is used by default. .Sh ENVIRONMENT .Bl -tag -width Ds -.It Er CACHE_DIR +.It Ev CACHE_DIR The absolute path of the .Xr catman 8 cache directory. +This must not have a trailing slash. +.It Ev CSS_DIR +Prepended to CSS file links in outputted HTML files. +This must not have a trailing slash. .El .Sh FILES .Bl -tag -width Ds @@ -82,15 +86,19 @@ Built by .Xr catman 8 and must exist at least once under the configuration directory root. .It Pa man.css -Must be visible in the server document root, used for styling source -manual page output. -.It Pa catman.css -Must be visible in the server document root, used for styling -pre-formatted manual page output. +Should be visible in the server document root or within +.Ev CSS_DIR . +Included in each page after +.Pa man-cgi.css , +ostensibly for +.Xr mandoc 1 +HTML output styling. .It Pa man.cgi.css -Must be visible in the server document root, used for general styling of +Should be visible in the server document root or within +.Ev CSS_DIR . +Included in each page, ostensibly for general .Nm -search and error pages. +styling. .El .Sh COMPATIBILITY The @@ -106,8 +114,7 @@ However, the results may not be quite the same. The .Nm utility was written by -.An Kristaps Dzonsons , -.Mt kristaps@bsd.lv . +.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv . .Sh CAVEATS If you're running in a jailed web-server, make sure the .Pa /tmp