[master] 5fe64d6 Add manual sections
Federico G. Schwindt
fgsch at lodoss.net
Sat Feb 21 11:31:50 CET 2015
commit 5fe64d62199b0c090eefcf3b823e996f7489533c
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Sat Feb 21 10:26:53 2015 +0000
Add manual sections
While here also drop synopsis indentation.
diff --git a/doc/sphinx/reference/varnish-cli.rst b/doc/sphinx/reference/varnish-cli.rst
index 2879dcd..d6df5e3 100644
--- a/doc/sphinx/reference/varnish-cli.rst
+++ b/doc/sphinx/reference/varnish-cli.rst
@@ -6,6 +6,8 @@ varnish-cli
Varnish Command Line Interface
------------------------------
+:Manual section: 7
+
DESCRIPTION
===========
diff --git a/doc/sphinx/reference/varnishadm.rst b/doc/sphinx/reference/varnishadm.rst
index 8143abd..eedffbb 100644
--- a/doc/sphinx/reference/varnishadm.rst
+++ b/doc/sphinx/reference/varnishadm.rst
@@ -7,10 +7,12 @@ varnishadm
Control a running Varnish instance
----------------------------------
+:Manual section: 1
+
SYNOPSIS
========
- varnishadm [-t timeout] [-S secret_file] [-T address:port] [-n name] [command [...]]
+varnishadm [-t timeout] [-S secret_file] [-T address:port] [-n name] [command [...]]
DESCRIPTION
===========
diff --git a/doc/sphinx/reference/varnishd.rst b/doc/sphinx/reference/varnishd.rst
index 8372086..1856bcb 100644
--- a/doc/sphinx/reference/varnishd.rst
+++ b/doc/sphinx/reference/varnishd.rst
@@ -8,16 +8,12 @@ varnishd
HTTP accelerator daemon
-----------------------
+:Manual section: 1
SYNOPSIS
========
-varnishd [-a address[:port]] [-b host[:port]] [-C] [-d] [-f config]
- [-F] [-g group] [-h type[,options]] [-i identity]
- [-l shl[,free[,fill]]] [-M address:port] [-n name]
- [-P file] [-p param=value] [-r param[,param...]
- [-s [name=]kind[,options]] [-S secret-file] [-T address[:port]]
- [-t ttl] [-u user] [-V]
+varnishd [-a address[:port]] [-b host[:port]] [-C] [-d] [-f config] [-F] [-g group] [-h type[,options]] [-i identity] [-l shl[,free[,fill]]] [-M address:port] [-n name] [-P file] [-p param=value] [-r param[,param...] [-s [name=]kind[,options]] [-S secret-file] [-T address[:port]] [-t ttl] [-u user] [-V]
DESCRIPTION
===========
diff --git a/doc/sphinx/reference/varnishhist.rst b/doc/sphinx/reference/varnishhist.rst
index 685aebe..7823421 100644
--- a/doc/sphinx/reference/varnishhist.rst
+++ b/doc/sphinx/reference/varnishhist.rst
@@ -8,6 +8,8 @@ varnishhist
Varnish request histogram
-------------------------
+:Manual section: 1
+
SYNOPSIS
========
diff --git a/doc/sphinx/reference/varnishlog.rst b/doc/sphinx/reference/varnishlog.rst
index 15a1446..5e22411 100644
--- a/doc/sphinx/reference/varnishlog.rst
+++ b/doc/sphinx/reference/varnishlog.rst
@@ -8,6 +8,8 @@ varnishlog
Display Varnish logs
--------------------
+:Manual section: 1
+
SYNOPSIS
========
diff --git a/doc/sphinx/reference/varnishncsa.rst b/doc/sphinx/reference/varnishncsa.rst
index 85906fc..c0ab61f 100644
--- a/doc/sphinx/reference/varnishncsa.rst
+++ b/doc/sphinx/reference/varnishncsa.rst
@@ -8,6 +8,8 @@ varnishncsa
Display Varnish logs in Apache / NCSA combined log format
---------------------------------------------------------
+:Manual section: 1
+
SYNOPSIS
========
diff --git a/doc/sphinx/reference/varnishstat.rst b/doc/sphinx/reference/varnishstat.rst
index 036b268..c3aa20e 100644
--- a/doc/sphinx/reference/varnishstat.rst
+++ b/doc/sphinx/reference/varnishstat.rst
@@ -8,6 +8,8 @@ varnishstat
Varnish Cache statistics
---------------------------
+:Manual section: 1
+
SYNOPSIS
========
diff --git a/doc/sphinx/reference/varnishtest.rst b/doc/sphinx/reference/varnishtest.rst
index 568d4e3..dd4aa83 100644
--- a/doc/sphinx/reference/varnishtest.rst
+++ b/doc/sphinx/reference/varnishtest.rst
@@ -8,10 +8,12 @@ varnishtest
Test program for Varnish
------------------------
+:Manual section: 1
+
SYNOPSIS
========
- varnishtest [-iklLqv] [-n iter] [-D name=val] [-j jobs] [-t duration] file [file ...]
+varnishtest [-iklLqv] [-n iter] [-D name=val] [-j jobs] [-t duration] file [file ...]
DESCRIPTION
===========
diff --git a/doc/sphinx/reference/varnishtop.rst b/doc/sphinx/reference/varnishtop.rst
index e1abbcb..9efce5b 100644
--- a/doc/sphinx/reference/varnishtop.rst
+++ b/doc/sphinx/reference/varnishtop.rst
@@ -8,6 +8,7 @@ varnishtop
Varnish log entry ranking
-------------------------
+:Manual section: 1
SYNOPSIS
========
diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index a621e4f..c2f5165 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -8,6 +8,8 @@ VCL
Varnish Configuration Language
------------------------------
+:Manual section: 7
+
DESCRIPTION
===========
diff --git a/doc/sphinx/reference/vsl-query.rst b/doc/sphinx/reference/vsl-query.rst
index 3569cbf..3315dd6 100644
--- a/doc/sphinx/reference/vsl-query.rst
+++ b/doc/sphinx/reference/vsl-query.rst
@@ -8,6 +8,8 @@ vsl-query
Varnish VSL Query Expressions
-----------------------------
+:Manual section: 7
+
OVERVIEW
========
diff --git a/doc/sphinx/reference/vsl.rst b/doc/sphinx/reference/vsl.rst
index deb8e42..af8ff14 100644
--- a/doc/sphinx/reference/vsl.rst
+++ b/doc/sphinx/reference/vsl.rst
@@ -8,6 +8,8 @@ VSL
Shared Memory Logging
---------------------
+:Manual section: 7
+
OVERVIEW
========
diff --git a/man/vsc2rst.c b/man/vsc2rst.c
index 4e62917..66aaa30 100644
--- a/man/vsc2rst.c
+++ b/man/vsc2rst.c
@@ -57,6 +57,9 @@ int main(int argc, char **argv)
P("---------------------------------");
P("");
+ P(":Manual section: 7");
+ P("");
+
P("COUNTER LEVELS");
P("==============");
P("");
More information about the varnish-commit
mailing list