Reformat documentation index
Updated doc_gen to be a bit easier to integrate with existing templates, added support for generating HTML