Skip to content

Commit 499af62

Browse files
committed
Added function level documentation with phpDocumentor
1 parent 99436ea commit 499af62

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
pip install mkdocs
2222
pip3 install $(mkdocs get-deps)
2323
sudo apt-get update
24+
sudo apt-get install php
2425
sudo apt-get install -y lftp
2526
sudo apt-get install nodejs
2627
sudo apt-get install npm
@@ -31,6 +32,10 @@ jobs:
3132
run: |
3233
wget http://localhost:8080/api/v2/openapi.json -P /tmp/
3334
openapi-to-md /tmp/openapi.json /docs/api/
35+
- name: Create function level documentation with phpdocumentor
36+
run: |
37+
wget https://phpdoc.org/phpDocumentor.phar -P /tmp/
38+
php /tmp/phpDocumentor.phar --ignore vendor/ -d . -t /docs/php-documentor/
3439
- name: Build MkDocs site
3540
run: |
3641
mkdocs build

0 commit comments

Comments
 (0)