Skip to content

carstingaxion/gatherpress-devhub

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatherpress-devhub

I’d like to see (and maybe start working on) a blueprint that replicates the WordPress devhub for a custom plugin. As a real use-case I’d like to explore creating developer.gatherpress.org with the phpdoc-parser running against the plugin code of GatherPress.


 pre-built GatherPress devhub 


 GatherPress devhub 


 Edit blueprint.json


Learnings

  1. Needs to run php 7.4
  2. Activate Posts-to-Posts after phpdoc-parser, because of clashing dependencies
  3. Running the parser in this order results in destroyed <sourcecode>.
    {
      "step": "wp-cli",
      "command": "wp parser create '/wordpress/wp-content/plugins/gatherpress' --user=1"
    },
    {
      "step": "wp-cli",
      "command": "wp parser create '/wordpress/wp-content/plugins/gatherpress-alpha-main' --user=1"
    },
    
    Running it in the opposite order, only destroys the source for the alpha-main plugin.

About

Code-Reference for the GatherPress plugin, powered by WordPress & Playground

Topics

Resources

Stars

Watchers

Forks