diff --git a/.gitignore b/.gitignore index fe915ae..60377ba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ +/.phpdoc/cache/ /.vscode/ /vendor/ .php-cs-fixer.php composer.lock phpcs.xml +phpdoc.xml phpstan.neon diff --git a/.phpdoc/guide/index.rst b/.phpdoc/guide/index.rst new file mode 100644 index 0000000..e69de29 diff --git a/.phpdoc/template/base.html.twig b/.phpdoc/template/base.html.twig new file mode 100644 index 0000000..926c30b --- /dev/null +++ b/.phpdoc/template/base.html.twig @@ -0,0 +1,14 @@ +{% extends 'layout.html.twig' %} + +{% +set topMenu = { + "menu": [ + { "name": "Packagist", "url": "https://packagist.org/packages/opencultureconsulting/basics"} + ], + "social": [ + { "iconClass": "fab fa-github", "url": "https://github.com/opencultureconsulting/php-basics"}, + { "iconClass": "fab fa-mastodon", "url": "https://openbiblio.social/@occ"}, + { "iconClass": "fas fa-envelope-open-text", "url": "mailto:office@opencultureconsulting.com"} + ] +} +%} diff --git a/phpdoc.dist.xml b/phpdoc.dist.xml new file mode 100644 index 0000000..394ebee --- /dev/null +++ b/phpdoc.dist.xml @@ -0,0 +1,38 @@ + + + PHP Basics + + doc + .phpdoc/cache + + + + + /src + + + php + + Basics + true + + extends + implements + phpstan-require-implements + + + + + /.phpdoc/guide + + guides + + + + + +