- added docs generator;

This commit is contained in:
Mykyta Synelnikov
2023-06-05 13:22:44 +03:00
parent d09d2091fe
commit 4e47afce99
7 changed files with 226 additions and 6 deletions
+31
View File
@@ -0,0 +1,31 @@
{
"opts": {
"destination": "docs/hooks",
"template": "node_modules/wp-hookdoc/template",
"recurse": true,
"readme": "./.github/hookdoc-tmpl/README.md"
},
"source": {
"include": [
"./"
],
"exclude": [
"node_modules"
],
"includePattern": ".+\\.(php)?$"
},
"plugins": [
"node_modules/wp-hookdoc/plugin",
"plugins/markdown"
],
"templates": {
"default": {
"layoutFile": "./.github/hookdoc-tmpl/layout.tmpl",
"staticFiles": {
"include": [
"./.github/hookdoc-tmpl/static"
]
}
}
}
}