[V2] Resourcified documents

rebased #452.