(#1732) Batch replicate one generation docs

Update of @jo fix for #993. Use allDocs to speed up replicate of one gen. docs.