0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-10-18 09:58:43 +00:00

Doc: Fix code blocks

Code blocks should not be indented, as the indendation is passed
to the output,
This commit is contained in:
Ondrej Zajicek 2024-10-15 17:14:57 +02:00
parent 72c2df562d
commit cb40a666b9

View File

@ -125,11 +125,11 @@ Anyway, it will probably work well also on older systems.
and Perl, installing BIRD should be as easy as: and Perl, installing BIRD should be as easy as:
<code> <code>
./configure ./configure
make make
make install make install
vi /usr/local/etc/bird.conf vi /usr/local/etc/bird.conf
bird bird
</code> </code>
<p>You can use <tt>./configure --help</tt> to get a list of configure <p>You can use <tt>./configure --help</tt> to get a list of configure
@ -1725,17 +1725,14 @@ in the foot).
in case of compound expressions, they require parentheses around them. in case of compound expressions, they require parentheses around them.
E.g. E.g.
<code> <code>
define one=1; define one=1;
define myas=64500; define myas=64500;
int set odds;
pair set ps;
ec set es;
odds = [ one, (2+1), (6-one), (2*2*2-1), 9, 11 ]; int set odds = [ one, (2+1), (6-one), (2*2*2-1), 9, 11 ];
ps = [ (1,one+one), (3,4)..(4,8), (5,*), (6,3..6), (7..9,*) ]; pair set ps = [ (1,one+one), (3,4)..(4,8), (5,*), (6,3..6), (7..9,*) ];
es = [ (rt, myas, 3*10), (rt, myas+one, 0..16*16*16-1), (ro, myas+2, *) ]; ec set es = [ (rt, myas, *), (rt, myas+2, 0..16*16*16-1) ];
</code> </code>
Sets of prefixes are special: their literals does not allow ranges, but Sets of prefixes are special: their literals does not allow ranges, but
allows prefix patterns that are written allows prefix patterns that are written