update generator with Table Of content for easy navigation in the documentation