Fix #119 docs can't be built from tarball