Doc cleanup

This pull request fixes the Makefile to build the doc html with modern tools, and changes euclid.txt -> euclid.rst for pretty viewing directly in Github.