c028eb2 doc: use the appropriate lexers for code blocks

5 files Authored by zbyszek 2 years ago, Committed by nphilipp 2 years ago,
    doc: use the appropriate lexers for code blocks
    
    The default in rst is python, which results in every "with" and "in"
    being highlighted, which isn't particularly useful e.g. for changelogs.
    So specify 'text' as the default, and override this with 'spec' or
    'bash' in the few cases which are not plain text.
    
    (It would be nice if rst had a highlighter for changelogs, but it seems
    it doesn't.)
    
    Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
    
        
file modified
+5 -15
file modified
+23 -33
file modified
+3 -0
file modified
+4 -4
file modified
+3 -1