Document type resources

It's too bad we have to hardcode those snippets in the doc. Would there be an easy way to get them from a config JSON somewhere to generate this `.md`?