WP-API / docs

The content for developer.wordpress.org/rest-api
https://developer.wordpress.org/rest-api
110 stars 615 forks source link

Support resource-specific content in templated sections #91

Open kadamwhite opened 4 years ago

kadamwhite commented 4 years ago

As noted in #47, not all resources for which we generate the docs using a template are really comparable. Some require authentication, others require contextual overrides for things like the improperly named resources introduced by Gutenberg in order to be legible. We don't have a good way to support introducing these per-resource changes short of manually editing the generated files, which is not sustainable. We should come up with an alternative or more powerful templating solution, ideally.