aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-07-26 17:55:58 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-07-26 17:55:58 +0300
commit9045c4dca5a4ca866dc5563a9aa7d6dd6c5350b7 (patch)
tree54a87ff7de27e902ebe0f9589607bc6165068703
parentf4767b1f99a1f5036d65f2a4ab81e7b46e896c26 (diff)
downloadvmod-dbrw-9045c4dca5a4ca866dc5563a9aa7d6dd6c5350b7.tar.gz
vmod-dbrw-9045c4dca5a4ca866dc5563a9aa7d6dd6c5350b7.tar.bz2
Changes in documentation
* doc/gendocs_template: Add a link to man page * doc/vmod-dbrw.3: Add optional download section.
-rw-r--r--doc/gendocs_template1
-rw-r--r--doc/vmod-dbrw.320
2 files changed, 19 insertions, 2 deletions
diff --git a/doc/gendocs_template b/doc/gendocs_template
index 45b12a1..a359b11 100644
--- a/doc/gendocs_template
+++ b/doc/gendocs_template
@@ -55,6 +55,7 @@
(%%PDF_SIZE%%K characters)</a>.</li>
<li><a href="manual/%%PACKAGE%%.texi.tar.gz">Texinfo source
(%%TEXI_TGZ_SIZE%%K characters gzipped tar file)</a></li>
+ <li><a href="http://man.gnu.org.ua/manpage/?3+%%PACKAGE%%"><b>%%PACKAGE%%</b>(3) manpage</a> (<a href="manual/%%PACKAGE%%.3">download</a>)</li>
</ul>
</div>
diff --git a/doc/vmod-dbrw.3 b/doc/vmod-dbrw.3
index 9c35772..9b6d9f5 100644
--- a/doc/vmod-dbrw.3
+++ b/doc/vmod-dbrw.3
@@ -13,7 +13,7 @@
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with vmod-dbrw. If not, see <http://www.gnu.org/licenses/>.
-.TH VMOD_DBRW 1 "July 19, 2013" "VMOD_DBRW" "User Reference"
+.TH VMOD_DBRW 1 "July 26, 2013" "VMOD_DBRW" "User Reference"
.SH NAME
vmod-dbrw \- Database-driven rewrite rules for Varnish Cache
.SH SYNOPSIS
@@ -212,7 +212,7 @@ Password to access the database.
.TP
.I QUERY
\fBSQL\fR query to use. It can contain variable references in the
-form \fB$\fINAME\fR or \fB${\fINAME\fB|\fR, which will be replaced
+form \fB$\fINAME\fR or \fB${\fINAME\fB}\fR, which will be replaced
prior to the execution with the actual value of the \fINAME\fR
argument to the function \fBrewrite\fR.
.RE
@@ -360,10 +360,25 @@ sub vcl_recv {
}
.in
.fi
+.\" The MANCGI variable is set by man.cgi script on Ulysses.
+.\" The download.inc file contains the default DOWNLOAD section
+.\" for man-based doc pages.
+.if "\V[MANCGI]"WEBDOC" \{\
+. ds package vmod-dbrw
+. ds version 1.0
+. so download.inc
+\}
.SH "SEE ALSO"
.BR vcl (7),
.BR varnishd (1).
.PP
+.ie "\V[MANCGI]"WEBDOC" \{\
+Complete documentation for
+.B vmod-dbrw
+in various formats is
+.URL http://puszcza.gnu.org.ua/software/vmod-dbrw/manual.html "available online" .
+\}
+.el \{\
The full documentation for
.B vmod-dbrw
is maintained as a Texinfo
@@ -380,6 +395,7 @@ module are properly installed at your site, the command
.fi
.PP
should give you access to the complete manual.
+\}
.SH AUTHORS
Sergey Poznyakoff
.SH "BUG REPORTS"

Return to:

Send suggestions and report system problems to the System administrator.