diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-12 18:32:47 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-12 18:32:47 +0000 |
commit | a797540135ad4c814fac00a6542da5d893786891 (patch) | |
tree | e7c4db12f1a710a2f00e58f263cf29f567a2ef35 /cgi.h.example | |
parent | f11c12e77574a937415e1a9fa3fb12eb8a79b565 (diff) | |
download | mandoc-a797540135ad4c814fac00a6542da5d893786891.tar.gz mandoc-a797540135ad4c814fac00a6542da5d893786891.tar.zst mandoc-a797540135ad4c814fac00a6542da5d893786891.zip |
No need for run-time configuration, add minimal compile-time
configuration facilities, just two paths and two HTML strings.
Show the title on all pages, not just the index page.
Diffstat (limited to 'cgi.h.example')
-rw-r--r-- | cgi.h.example | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cgi.h.example b/cgi.h.example new file mode 100644 index 00000000..95508def --- /dev/null +++ b/cgi.h.example @@ -0,0 +1,7 @@ +/* Example compile-time configuration file for man.cgi(8). */ + +#define MAN_DIR "/var/www/man" +#define CSS_DIR "" +#define CUSTOMIZE_TITLE "Manual pages with mandoc" +#define CUSTOMIZE_BEGIN "<H2>\nManual pages with " \ + "<A HREF=\"http://mdocml.bsd.lv/\">mandoc</A>\n</H2>" |