Skip to content

Commit 395c7fb

Browse files
committed
api_refs.sh merged w/ 5.0
1 parent ae3a8ea commit 395c7fb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tools/api_refs/api_refs.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ REST_API_OUTPUT_FILE=${3:-./docs/api/rest_api/rest_api_reference/rest_api_refere
88

99
DXP_EDITION='commerce'; # Edition from and for which the Reference is built
1010
DXP_VERSION='5.0.x-dev'; # Version from and for which the Reference is built
11-
DXP_ADD_ONS=(connector-ai connector-openai automated-translation product-catalog-date-time-attribute); # Packages not included in $DXP_EDITION but added to the Reference, listed without their vendor "ibexa"
11+
DXP_ADD_ONS=(automated-translation rector); # Packages not included in $DXP_EDITION but added to the Reference, listed without their vendor "ibexa"
1212
DXP_EDITIONS=(oss headless experience commerce); # Available editions ordered by ascending capabilities
13-
SF_VERSION='6.4'; # Symfony version used by Ibexa DXP
14-
PHPDOC_VERSION='3.7.1'; # Version of phpDocumentor used to build the Reference
13+
SF_VERSION='7.2'; # Symfony version used by Ibexa DXP
14+
PHPDOC_VERSION='3.8.0'; # Version of phpDocumentor used to build the Reference
1515
PHPDOC_CONF="$(pwd)/tools/api_refs/phpdoc.dist.xml"; # Absolute path to phpDocumentor configuration file
1616
#PHPDOC_CONF="$(pwd)/tools/api_refs/phpdoc.dev.xml"; # Absolute path to phpDocumentor configuration file
17-
PHPDOC_TEMPLATE_VERSION='3.7.1'; # Version of the phpDocumentor base template set
17+
PHPDOC_TEMPLATE_VERSION='3.8.0'; # Version of the phpDocumentor base template set
1818
PHPDOC_DIR="$(pwd)/tools/api_refs/.phpdoc"; # Absolute path to phpDocumentor resource directory (containing the override template set)
1919

2020
PHP_BINARY="php -d error_reporting=`php -r 'echo E_ALL & ~E_DEPRECATED;'`"; # Avoid depreciation messages from phpDocumentor/Reflection/issues/529 when using PHP 8.2 or higher
@@ -55,7 +55,7 @@ cd $TMP_DXP_DIR; # /!\ Change working directory (reason why all paths must be ab
5555
if [ 0 -eq $DXP_ALREADY_EXISTS ]; then
5656
echo "Creating ibexa/$DXP_EDITION-skeleton:$DXP_VERSION project in ${TMP_DXP_DIR}";
5757
if [[ "$DXP_VERSION" == *".x-dev" ]]; then
58-
composer create-project ibexa/website-skeleton:$DXP_VERSION . --no-interaction --no-install --ignore-platform-reqs --no-scripts --stability=dev;
58+
composer create-project ibexa/website-skeleton:$DXP_VERSION . --no-interaction --ignore-platform-reqs --no-scripts --stability=dev;
5959
if [ -n "$AUTH_JSON" ]; then
6060
cp $AUTH_JSON ./;
6161
fi;
@@ -80,7 +80,7 @@ export COMPOSER_ROOT_VERSION=$DXP_VERSION;
8080

8181
if [ 0 -eq $DXP_ALREADY_EXISTS ]; then
8282
for additional_package in "${DXP_ADD_ONS[@]}"; do
83-
composer require --no-interaction --ignore-platform-reqs --no-scripts ibexa/$additional_package:$DXP_VERSION
83+
composer require --no-interaction --ignore-platform-reqs --no-scripts ibexa/$additional_package:$DXP_VERSION;
8484
done;
8585
fi;
8686

@@ -120,7 +120,7 @@ if [ 0 -eq $DXP_ALREADY_EXISTS ]; then
120120
done;
121121
echo 'OK';
122122

123-
echo -n "Store package→edition and namespace→edition maps into $map";
123+
echo -n "Store package→edition and namespace→edition maps into ${map}";
124124
map=$PHPDOC_DIR/template/package-edition-map.twig;
125125
if [[ -f $map ]]; then
126126
rm $map;

0 commit comments

Comments
 (0)