Skip to content

Commit

Permalink
Fix documentation generation (#2230) (#2231)
Browse files Browse the repository at this point in the history
* Update download link for phpDocumentor.phar
* Remove template to use default template for phpdocs
* Adjust path to src
* Update composer call
  • Loading branch information
ruflin authored Oct 23, 2024
1 parent 84ba137 commit 79c4a07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
sudo sysctl -w vm.swappiness=1
sudo sysctl -w fs.file-max=262144
sudo sysctl -w vm.max_map_count=262144
ES_VERSION=${{ matrix.elasticsearch }} docker-compose --file=docker/docker-compose.proxy.yml --file=docker/docker-compose.es.yml up --detach
ES_VERSION=${{ matrix.elasticsearch }} docker compose --file=docker/docker-compose.proxy.yml --file=docker/docker-compose.es.yml up --detach
docker run --rm --network=docker_elastic curlimages/curl --max-time 120 --retry-max-time 120 --retry 120 --retry-delay 5 --retry-all-errors --show-error --silent http://es01:9200
docker run --rm --network=docker_elastic curlimages/curl --max-time 120 --retry-max-time 120 --retry 120 --retry-delay 5 --retry-all-errors --show-error --silent http://es02:9200
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ run-coveralls:
tools/php-coveralls.phar -v

tools/phpdocumentor.phar:
curl https://gitreleases.dev/gh/phpDocumentor/phpDocumentor/latest/phpDocumentor.phar -o tools/phpdocumentor.phar --silent -L; \
curl http://www.phpdoc.org/phpDocumentor.phar -o tools/phpdocumentor.phar --silent -L; \
chmod +x tools/phpdocumentor.phar

.PHONY: run-phpdoc
run-phpdoc: tools/phpdocumentor.phar
tools/phpdocumentor.phar --directory=lib --target=build/docs --template=clean
tools/phpdocumentor.phar --directory=src --target=build/docs

##
## Docker commands
Expand Down

0 comments on commit 79c4a07

Please sign in to comment.