aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgi.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-13 09:39:32 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-13 09:39:32 +0000
commit76c11ac76bacd43c9f5088017ce45c83f50520b6 (patch)
tree2e2f7d497fc7564023332bf75d78d05e6156b252 /cgi.c
parent8eb0cfe199b90872bf8e9411ce6d59e3de0b9418 (diff)
downloadmandoc-76c11ac76bacd43c9f5088017ce45c83f50520b6.tar.gz
mandoc-76c11ac76bacd43c9f5088017ce45c83f50520b6.tar.zst
mandoc-76c11ac76bacd43c9f5088017ce45c83f50520b6.zip
Install the manuals of the web interface below the same directory
as manpath.conf, such that we do not need to mix our own documentation into the documentation we are serving, which may not even be possible if the latter is updated automatically. Based on an idea by beck@.
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cgi.c b/cgi.c
index b6859b3d..54ac9145 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,4 +1,4 @@
-/* $Id: cgi.c,v 1.68 2014/07/12 23:46:44 schwarze Exp $ */
+/* $Id: cgi.c,v 1.69 2014/07/13 09:39:32 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014 Ingo Schwarze <schwarze@usta.de>
@@ -463,10 +463,10 @@ resp_index(const struct req *req)
resp_searchform(req);
printf("<P>\n"
"This web interface is documented in the "
- "<A HREF=\"%s?query=man.cgi&amp;sec=8\">"
- "man.cgi</A> manual, and the "
- "<A HREF=\"%s?query=apropos&amp;sec=1\">"
- "apropos</A> manual explains the query syntax.\n"
+ "<A HREF=\"%s/mandoc/man8/man.cgi.8\">man.cgi</A> "
+ "manual, and the "
+ "<A HREF=\"%s/mandoc/man1/apropos.1\">apropos</A> "
+ "manual explains the query syntax.\n"
"</P>\n",
scriptname, scriptname);
resp_end_html();