- Notifications
You must be signed in to change notification settings - Fork663
The content for developer.wordpress.org/rest-api
WP-API/docs
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repo contains the source fordocumentation for the API on developer.wordpress.org (DevHub).
When creating new files, these must be added to the manifest. Runbin/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:
- Create a local WordPress environment (always use the current or Release Candidate version of WordPress) using the local environment tool of your choice.
- Edit
/etc/hoststo map the domainexample.comto the IP of that WordPress instance, and ensure the site is configured to run atexample.com. - Run
composer installin this project's root directory to install dependencies. - Run
composer run-script regeneratein this project's root directory to run the asset regeneration script. - Use
git statusandgit diffto validate that the files were updated as expected.
About
The content for developer.wordpress.org/rest-api
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.