prevent unstyled flash on documentation page
sjwilliams opened this issue · comments
Move this from index.tmpl into node script to run during documentation build task.
$('h2, h1', '.content').each(function(){
$(this).nextUntil('h2').wrapAll('<section></section>');
$(this).prependTo($(this).next('section'));
});