chore(doc_gen): add task to run doc-gen specs
test(docgen/writer): writer.copy should call transform fn correctly
fix(doc-gen/writer): ensure transform fn gets correct parameters

Closes #3021