doc finish