Ported the docslib.
Ported the doctools libs. Yay for no effort!