clean up and build documentation