Changeset 3558ac


Ignore:
Timestamp:
2011-10-04 13:54:59 (3 years ago)
Author:
Tollef Fog Heen <tfheen@…>
Branches:
3.0
Children:
ea964e
Parents:
83fb1b
git-author:
Andreas Plesner Jacobsen <apj@…> (2011-09-22 10:10:12)
git-committer:
Tollef Fog Heen <tfheen@…> (2011-10-04 13:54:59)
Message:

Format all code examples

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/sphinx/installation/upgrade.rst

    r300097 r3558ac  
    2121~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    2222 
    23 ``log`` has moved to the std vmod: 
     23``log`` has moved to the std vmod:: 
    2424 
    2525        log "log something"; 
    2626 
    27 becomes 
     27becomes:: 
    2828 
    2929        import std; 
     
    3535~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    3636 
    37 ``purge()`` and ``purge_url()`` are now respectively ``ban()`` and ``ban_url()``, so you should replace all occurences: 
     37``purge()`` and ``purge_url()`` are now respectively ``ban()`` and ``ban_url()``, so you should replace all occurences:: 
    3838 
    3939        purge("req.url = " req.url); 
    4040 
    41 becomes 
     41becomes:: 
    4242 
    4343        ban("req.url = " + req.url); 
     
    8585~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    8686 
    87 You no longer append to the hash with ``+=``, so 
     87You no longer append to the hash with ``+=``, so:: 
    8888 
    8989        set req.hash += req.url; 
    9090 
    91 becomes 
     91becomes:: 
    9292 
    9393        hash_data(req.url); 
     
    9696~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    9797 
    98 You no longer enable ESI with ``esi``, so 
     98You no longer enable ESI with ``esi``, so:: 
    9999 
    100100        esi; 
    101101 
    102 in ``vcl_fetch`` becomes 
     102in ``vcl_fetch`` becomes:: 
    103103 
    104104        set beresp.do_esi = true; 
Note: See TracChangeset for help on using the changeset viewer.