Skip to content

Commit 9200f29

Browse files
committed
api_refs.sh: Add Ibexa logo
1 parent c551c65 commit 9200f29

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/api_refs/api_refs.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,9 @@ git init && git add . && git commit -m "Installed Ibexa Commerce" > /dev/null;
202202
composer recipes:install ibexa/$DXP_EDITION --no-interaction;
203203

204204
echo 'Dump REST OpenAPI schema… ';
205-
$PHP_BINARY bin/console ibexa:openapi --yaml > openapi.yaml;
205+
$PHP_BINARY bin/console ibexa:openapi --yaml \
206+
| sed "s@info:@info:\n x-logo:\n url: 'https://doc.ibexa.co/en/latest/images/ibexa-dxp-logo.png'@" \
207+
> openapi.yaml;
206208
echo 'Build REST Reference… ';
207209
redocly build-docs openapi.yaml --output $REST_API_OUTPUT_FILE --config $REDOCLY_CONFIG;
208210

0 commit comments

Comments
 (0)