From 47c797dabaff6d55091a485a80452ac1e424443a Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Tue, 6 Apr 2021 18:18:04 +0200 Subject: [PATCH] :hammer: Fix extensions doc generation script There were some path problems, this wasn't consistent with the procedure (run from the .doc dir) and with the other script --- .doc/bin/build-doc-extensions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.doc/bin/build-doc-extensions b/.doc/bin/build-doc-extensions index 05480345e..b9f78ffd7 100755 --- a/.doc/bin/build-doc-extensions +++ b/.doc/bin/build-doc-extensions @@ -1,6 +1,6 @@ #!/bin/sh -x -rm -rf /tmp/phpdoc-twig-cache/ && rm -rf data/phpdocumentor/output/extensions/ && rm -rf data/phpdocumentor/temp/extensions/ && .doc/vendor/bin/phpdoc -c .doc/phpdoc-extensions.dist.xml -vvv +rm -rf /tmp/phpdoc-twig-cache/ && rm -rf data/phpdocumentor/output/extensions/ && rm -rf data/phpdocumentor/temp/extensions/ && ./vendor/bin/phpdoc -c ./phpdoc-extensions.dist.xml -vvv # now wee need to lowercase every generated file because dokuwiki can't handle uppercase -cd data/phpdocumentor/output/extensions/ && for i in $( ls | grep [A-Z] ); do mv -i $i `echo $i | tr 'A-Z' 'a-z'`; done \ No newline at end of file +cd ../data/phpdocumentor/output/extensions/ && for i in $(ls | grep [A-Z]); do mv -i $i $(echo $i | tr 'A-Z' 'a-z'); done