Rewrite docs task