rebuild dist and docs