Revert "Revert "3.0 better toc""

Reverts cakephp/docs#1891