ditch unused template
use doc links instead of ref links
cleanup js and sidebar styling
update theme