Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 953 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 953 Bytes

WP Parser

WP-Parser is the parser for creating the new code reference at developer.wordpress.org. It parses the inline documentation and produces custom post type entries in WordPress.

We are currently looking for contributors to help us complete the work on the parser.

There is a guide to developing for developer.wordpress.org in the WordPress documentation handbook

Requirements

Clone the repository into your WordPress plugins directory:

git clone [email protected]:WordPress/phpdoc-parser.git 

After that install the dependencies using composer in the parser directory:

composer install

Running

Note: ensure the plugin is enabled first.

In your site's directory:

$ wp parser create /path/to/source/code --user=<id|login>