From: Julius Härtl Date: Wed, 26 Aug 2020 06:08:37 +0000 (+0200) Subject: Add php docs build script X-Git-Tag: v20.0.0beta2~5^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8c33bfe86b53c9c18aaadef72a0d138e23165ae9;p=nextcloud-server.git Add php docs build script Signed-off-by: Julius Härtl --- diff --git a/build/phpDocumentor.sh b/build/phpDocumentor.sh new file mode 100755 index 00000000000..07a35ece2d6 --- /dev/null +++ b/build/phpDocumentor.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# Use a cached version of phpDocumentor for now since there is no release yet +# and the github actions artifacts might disappear +# This phar is downloaded from https://github.com/phpDocumentor/phpDocumentor/actions/runs/221599704 + +wget https://bitgrid.net/~jus/phpDocumentor.phar + +mkdir -p api/ + +php7.4 phpDocumentor.phar -t "./api" -d "./lib/public" --title="Nextcloud PHP API (`git rev-parse --abbrev-ref HEAD`)"