support table of contents(toc) both generator and theme
Merge branch 'toc' into dev, support `toc` feature