[master] 2c1a7c4 Fix formatting

Federico G. Schwindt fgsch at lodoss.net
Mon Feb 23 17:17:53 CET 2015


commit 2c1a7c4acd4f0da5dc8bc8b8fc59a19f9a049f48
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Mon Feb 23 14:11:40 2015 +0000

    Fix formatting
    
    One too many `:' will end up in the text.

diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index 6108d04..7c5b57b 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -236,7 +236,7 @@ Probes
 ------
 
 Probes will query the backend for status on a regular basis and mark
-the backend as down it they fail. A probe is defined as this:::
+the backend as down it they fail. A probe is defined as this::
 
     probe name {
          .attribute = "value";
diff --git a/doc/sphinx/tutorial/backend_servers.rst b/doc/sphinx/tutorial/backend_servers.rst
index cb5f087..ce39bc1 100644
--- a/doc/sphinx/tutorial/backend_servers.rst
+++ b/doc/sphinx/tutorial/backend_servers.rst
@@ -13,7 +13,7 @@ file. If you installed from source this is
 is probably `/etc/varnish/default.vcl`.
 
 If you've been following the tutorial there is probably a section of
-the configuration that looks like this:::
+the configuration that looks like this::
 
   vcl 4.0;
   
diff --git a/doc/sphinx/users-guide/vcl-backends.rst b/doc/sphinx/users-guide/vcl-backends.rst
index 1a1f556..cd4b0d7 100644
--- a/doc/sphinx/users-guide/vcl-backends.rst
+++ b/doc/sphinx/users-guide/vcl-backends.rst
@@ -84,7 +84,7 @@ explicitly. You set up the routing of incoming HTTP requests in
 `vcl_recv`. If you want this routing to be done on the basis of virtual
 hosts you just need to inspect `req.http.host`.
 
-You can have something like this:::
+You can have something like this::
 
     sub vcl_recv {
         if (req.http.host ~ "foo.com") {
@@ -97,7 +97,7 @@ You can have something like this:::
 Note that the first regular expressions will match "foo.com",
 "www.foo.com", "zoop.foo.com" and any other host ending in "foo.com". In
 this example this is intentional but you might want it to be a bit
-more tight, maybe relying on the ``==`` operator in stead, like this:::
+more tight, maybe relying on the ``==`` operator in stead, like this::
 
     sub vcl_recv {
         if (req.http.host == "foo.com" || req.http.host == "www.foo.com") {
diff --git a/doc/sphinx/users-guide/vcl-grace.rst b/doc/sphinx/users-guide/vcl-grace.rst
index e226ab6..dad7fd0 100644
--- a/doc/sphinx/users-guide/vcl-grace.rst
+++ b/doc/sphinx/users-guide/vcl-grace.rst
@@ -37,7 +37,7 @@ the object. This will happen asynchronously and the moment the new
 object is in it will replace the one we've already got.
 
 You can influence how this logic works by adding code in vcl_hit. The
-default looks like this:::
+default looks like this::
 
   sub vcl_hit {
      if (obj.ttl >= 0s) {
@@ -56,7 +56,7 @@ default looks like this:::
 The grace logic is pretty obvious here. If you have enabled
 :ref:`users-guide-advanced_backend_servers-health` you can check if
 the backend is sick and only serve graced object then. Replace the
-second if-clause with something like this:::
+second if-clause with something like this::
 
    if (!std.healthy(req.backend_hint) && (obj.ttl + obj.grace > 0s)) {
          return (deliver);
diff --git a/doc/sphinx/users-guide/vcl-syntax.rst b/doc/sphinx/users-guide/vcl-syntax.rst
index d4acdd7..bc1a239 100644
--- a/doc/sphinx/users-guide/vcl-syntax.rst
+++ b/doc/sphinx/users-guide/vcl-syntax.rst
@@ -19,7 +19,7 @@ Strings
 Basic strings are enclosed in " ... ", and may not contain newlines.
 
 Backslash is not special, so for instance in `regsub()` you do not need
-to do the "count-the-backslashes" polka:::
+to do the "count-the-backslashes" polka::
 
   regsub("barf", "(b)(a)(r)(f)", "\4\3\2p") -> "frap"
 
diff --git a/lib/libvmod_directors/vmod.vcc b/lib/libvmod_directors/vmod.vcc
index e660b07..78c3ff2 100644
--- a/lib/libvmod_directors/vmod.vcc
+++ b/lib/libvmod_directors/vmod.vcc
@@ -37,14 +37,14 @@ also serves as an example on how one could extend the load balancing
 capabilities of Varnish.
 
 To enable load balancing you must import this vmod (directors) in your
-VCL:::
+VCL::
 
   import directors;
 
 Then you define your backends. Once you have the backends declared you
 can add them to a director. This happens in executed VCL code. If you
 want to emulate the previous behavior of Varnish 3.0 you can just
-initialize the directors in vcl_init, like this:::
+initialize the directors in vcl_init, like this::
 
     sub vcl_init {
 	new vdir = directors.round_robin();



More information about the varnish-commit mailing list