added active item hook to pages_list macro
add auto-toc in documentation sidebar