DOC Improve documentation templates

The table of content links were never very useful.