We should be able to autogenerate the docs by embedding the necessary info in the resource type.