Sphinx template cleanup

This branch is a branch that I'll use to clean up my code so it looks nicer for @carreau