Lots of cleanup to how documentation gets built