From 499af62641a75933dc4918b6adba0e37715d1c4f Mon Sep 17 00:00:00 2001 From: jessevz Date: Thu, 16 Jan 2025 13:17:40 +0100 Subject: [PATCH] Added function level documentation with phpDocumentor --- .github/workflows/docs.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index cc3fbc93..5df568b8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,6 +21,7 @@ jobs: pip install mkdocs pip3 install $(mkdocs get-deps) sudo apt-get update + sudo apt-get install php sudo apt-get install -y lftp sudo apt-get install nodejs sudo apt-get install npm @@ -31,6 +32,10 @@ jobs: run: | wget http://localhost:8080/api/v2/openapi.json -P /tmp/ openapi-to-md /tmp/openapi.json /docs/api/ + - name: Create function level documentation with phpdocumentor + run: | + wget https://phpdoc.org/phpDocumentor.phar -P /tmp/ + php /tmp/phpDocumentor.phar --ignore vendor/ -d . -t /docs/php-documentor/ - name: Build MkDocs site run: | mkdocs build