Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Apr 12, 2021
1 parent 16fa3a9 commit 42f58d6
Show file tree
Hide file tree
Showing 8 changed files with 1,337 additions and 9 deletions.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
"post-install-cmd": "echo 'Optionally run: composer bin all install'",
"post-update-cmd": "echo 'Optionally run: composer bin all update'",
"psalm": "vendor/bin/psalm",
"phpdoc": "vendor/bin/phpdoc --setting='guides.enabled=true'"
"phpdoc": "vendor/bin/phpdoc --setting='guides.enabled=true'",
"build-docs": [
"vendor/bin/wp-documentor parse ./src/ --format=phpdocumentor-rst --type=actions > docs/actions.rst",
"vendor/bin/wp-documentor parse ./src/ --format=phpdocumentor-rst --type=filters > docs/filters.rst",
"@phpdoc"
]
}
}
2 changes: 1 addition & 1 deletion docs/actions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Actions

https://developer.wordpress.org/plugins/hooks/actions/

*— Find a way to add the WordPress actions here. —*

2 changes: 1 addition & 1 deletion docs/filters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Filters

https://developer.wordpress.org/plugins/hooks/filters/

*— Find a way to add the WordPress actions here. —*

12 changes: 6 additions & 6 deletions vendor-bin/phpdocumentor/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vendor-bin/update/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
18 changes: 18 additions & 0 deletions vendor-bin/update/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vendor-bin/wp-documentor/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"pronamic/wp-documentor": "dev-main"
}
}
Loading

0 comments on commit 42f58d6

Please sign in to comment.