Commit 99251be5 authored by Jordan Christiansen's avatar Jordan Christiansen Committed by guillaume quintard

doc: Fix formatting in some examples

In RST, there needs to be an empty line after ::, otherwise the whole
block is interpreted as a normal paragraph where newlines are not
preserved.
parent 7123e16d
......@@ -274,6 +274,7 @@ Only one of the *s*, *real* or *integer* arguments may be given or a VCL
failure will be triggered.
Examples::
set beresp.ttl = std.duration("1w", 3600s);
set beresp.ttl = std.duration(real=1.5);
set beresp.ttl = std.duration(integer=10);
......@@ -300,6 +301,7 @@ Only one of the *s*, *real* or *integer* arguments may be given or a VCL
failure will be triggered.
Example::
std.cache_req_body(std.bytes(something.somewhere, 10K));
std.cache_req_body(std.bytes(integer=10*1024));
std.cache_req_body(std.bytes(real=10.0*1024));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment