change some post processing for doc and fix table of content builder
add source code highlighting and toggle visibility
fix building table of contents