Updated documentation to use sphinx-doc.

Also added a few generated files to the .gitignore