fix building docs on travis-ci.