Respect/Template — pull request #24 by nickl- (2012-06-03 02:33:40+00:00)
Title: Define DocType on render.

As requested at Respect/Template#20

Added all doctypes as per http://www.w3.org/QA/2002/04/valid-dtd-list.html to Document class.
Added references to HTML type doctypes from Document class constants to Html class for convenience.
If doctype is supplied replace current doctype if it exists before prepending doctype.
Added some comments for completion.

Not sure if this is what you expected?