WP-API / docs

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

API Docs

This repo contains the source for documentation for the API on developer.wordpress.org (DevHub).

Adding/Removing Files

When creating new files, these must be added to the manifest. Run bin/generate-manifest.php to update this.

Removing files also requires regenerating the manifest. After deletion and sync with DevHub, the page also needs to be manually deleted from DevHub.

Refreshing the Templated API Reference

The reference section is created by parsing the output of a site's schema as retrieved from that site's REST API index route. The current method used to generate this approach is as follows: