Skip to content

Commit c6ee5ec

Browse files
committed
Merge pull request #54 from timgws/fix-makedoc
Ensure that makedoc.sh works with ApiGen 4.1
2 parents da30b7a + c11a61f commit c6ee5ec

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

makedoc.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,17 @@ mkdir -p ./reports
44
mkdir -p ./documents/apigen
55

66
if [ -z "$1" ]; then
7-
apigen \
7+
apigen generate \
88
--title 'Onmipay Common API documentation' \
99
--source ./src \
10-
--destination ./documents/apigen \
11-
--report ./reports/apigen.xml
10+
--destination ./documents/apigen
1211

1312
#
1413
# Left here for further expansion, ignore this for the time being.
1514
#
1615
elif [ "$1" = "common" ]; then
17-
apigen \
16+
apigen generate \
1817
--title 'Omnipay Common API documentation' \
1918
--source ./src/Omnipay/Common \
20-
--destination ./documents/apigen \
21-
--report ./reports/apigen.xml
22-
19+
--destination ./documents/apigen
2320
fi

0 commit comments

Comments
 (0)