Skip to content

Commit 0ad7599

Browse files
committed
excludes
1 parent 6951e68 commit 0ad7599

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish-apidocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ jobs:
8080
# TODO: remove the ignores below, they speed up the runs for quick evaluation while we're setting this up
8181
# Notice: -d xdebug.mode=off is required due to a bug/workaround
8282
# Issue: https://github.com/phpDocumentor/phpDocumentor/issues/3642#issuecomment-1912354577
83+
# TODO: have a nicer way to specify excludes
84+
# excludes from https://github.com/moodle/phpdoc/blob/929083a815c1f7e95c540173e7549810f6d4a598/scripts/generate_phpdoc.sh#L27-L48
8385
- name: Build with phpDocumentor
84-
run: php -d xdebug.mode=off ${{ github.workspace }}/tools/phpDocumentor run -vv -d source --target docs --cache-folder phpdoc-cache --template default --title 'Moodle PHP API'
86+
run: php -d xdebug.mode=off ${{ github.workspace }}/tools/phpDocumentor run -vv -d source --target docs --cache-folder phpdoc-cache --template default --title 'Moodle PHP API' --ignore source/lib/pear --ignore source/**/tests/*_test.php --ignore **/tests/fixtures --ignore source/**/vendor --ignore source/**/amd --ignore source/**/yui
8587

8688
- name: Count files and get disk space
8789
run: |

0 commit comments

Comments
 (0)