This repo contains the source for documentation for the API on developer.wordpress.org (DevHub).
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.
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:
/etc/hosts
to map the domain example.com
to the IP of that WordPress instance, and ensure the site is configured to run at example.com
.composer install
in this project's root directory to install dependencies. composer run-script regenerate
in this project's root directory to run the asset regeneration script.git status
and git diff
to validate that the files were updated as expected.