• Joachim Breitner's avatar
    Multi-file HTML output · 99c6c515
    Joachim Breitner authored
    In order to make it feasible to create HTML output with large diffs,
    this adds a new presenter mode (--html-dir) which spreads the output
    over multiple files in a directory.
    
    In particular, the table presenting a diff that is larger than the
    number of bytes specified via --separate-file-diff-size (200kB by
    default) is writen to a separate file and loaded on demand using
    JavaScript/JQuery.
    
    By default, JQuery is symlinked into the output directory from
    /usr/share/javascript/jquery/jquery.js (install libjs-jquery!), but an
    alternative location (e.g. /javascript/jquery/jquery.js) can be
    specified using the --jquery command line parameter.
    
    Closes: #806891
    99c6c515
config.py 2.64 KB