theme/javascript/sidebar.js
function filterSummary(paths) {
    var $summary = $('.book-summary');

    $summary.find('li').each(function() {
        var path = $(this).data('path');
        var st = paths == null || _.contains(paths, path);

        $(this).toggle(st);
        if (st) $(this).parents('li').show();
    });
}
function filterSummary(paths) {
    var $summary = $('.book-summary');

    $summary.find('li').each(function() {
        var path = $(this).data('path');
        var st = paths == null || _.contains(paths, path);

        $(this).toggle(st);
        if (st) $(this).parents('li').show();
    });
}
function filterSummary ( paths ) { var $summary = $ ( '.book-summary' ) ; $summary . find ( 'li' ) . each ( function ( ) { var path = $ ( this ) . data ( 'path' ) ; var st = paths == null || _ . contains ( paths , path ) ; $ ( this ) . toggle ( st ) ; if ( st ) $ ( this ) . parents ( 'li' ) . show ( ) ; } ) ; }
Filter summary with a list of path
Filter summary with a list of path