Generate ToC by my own generator

Keep `<!-- #toc -->` and `<!-- /toc -->`, generator updates inside
wisely.