Various changes to implement building and installing docs to be compatible