WP-API / docs-v2

Documentation for version 2 of the API
http://v2.wp-api.org
58 stars 76 forks source link

Action and filter reference #124

Closed danielbachhuber closed 7 years ago

danielbachhuber commented 8 years ago

We should build pages for each of our actions and filters.

danielbachhuber commented 8 years ago

cc @dannyb195

danielbachhuber commented 8 years ago

cc @brichards

adamsilverstein commented 8 years ago

I tried running the codebase thru the WP code parser https://github.com/WordPress/phpdoc-parser which is hook-aware - with pretty good result... not sure how helpful that is to this effort, still good to know that when merged with core we'll get good documentation from our inline docs.

adamsilverstein commented 8 years ago

cc: @rmccue

parser export file: http://cl.ly/1A1R2g3U3r2l

can we leverage the parser/docs theme to build docs from inline documentation?

BE-Webdesign commented 8 years ago

I wrote a js script that grabs most things from the inline docs and puts it into #139 as markdown. I should probably do it more the way you are doing it and have ruby generate the page as a sort of build process from json.

rmccue commented 8 years ago

@adamsilverstein We're not running WP on the site right now, but we can probably spin something up on the infrastructure that's already there for the demo.

@joehoyle Can we convert the demo site to multisite?

joehoyle commented 8 years ago

We that's easy enough, not sure exactly from this ticket what needs to go on that new site htough?

kadamwhite commented 7 years ago

@joehoyle @rmccue Do you think we need a dedicated page for this, or is the fact that these are now available in the code reference sufficient?

rmccue commented 7 years ago

I think the reference is sufficient.