adds doc formatting/generation for resource name, desc, and params