You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/php_api_ref/phpdoc.sh
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
#!/usr/bin/env bash
2
2
3
-
set-x;
3
+
set+x;
4
4
5
5
AUTH_JSON=${1:-~/.composer/auth.json};# Path to an auth.json file allowing to install the targeted edition and version
6
6
PHP_API_OUTPUT_DIR=${2:-./docs/api/php_api/php_api_reference};# Path to the directory where the built PHP API Reference is hosted
@@ -10,10 +10,10 @@ DXP_VERSION="${DXP_VERSION:-4.6.*}"; # Version from and for which the Reference
10
10
DXP_ADD_ONS=(connector-ai connector-openai automated-translation product-catalog-date-time-attribute rector discounts discounts-codes product-catalog-symbol-attribute collaboration share fieldtype-richtext-rte integrated-help cdp);# Packages not included in $DXP_EDITION but added to the Reference, listed without their vendor "ibexa"
11
11
DXP_EDITIONS=(oss headless experience commerce);# Available editions ordered by ascending capabilities
12
12
SF_VERSION='5.4';# Symfony version used by Ibexa DXP
13
-
PHPDOC_VERSION='3.9.1';# Version of phpDocumentor used to build the Reference
13
+
PHPDOC_VERSION='3.10.0';# Version of phpDocumentor used to build the Reference
14
14
PHPDOC_CONF="$(pwd)/tools/php_api_ref/phpdoc.dist.xml";# Absolute path to phpDocumentor configuration file
15
15
#PHPDOC_CONF="$(pwd)/tools/php_api_ref/phpdoc.dev.xml"; # Absolute path to phpDocumentor configuration file
16
-
PHPDOC_TEMPLATE_VERSION='3.9.1';# Version of the phpDocumentor base template set
16
+
PHPDOC_TEMPLATE_VERSION='3.10.0';# Version of the phpDocumentor base template set
17
17
PHPDOC_DIR="$(pwd)/tools/php_api_ref/.phpdoc";# Absolute path to phpDocumentor resource directory (containing the override template set)
18
18
19
19
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
@@ -32,6 +32,9 @@ if [ ! -d $PHP_API_OUTPUT_DIR ]; then
32
32
fi;
33
33
fi;
34
34
PHP_API_OUTPUT_DIR=$(realpath $PHP_API_OUTPUT_DIR);# Transform into absolute path before changing the working directory
35
+
REST_API_OUTPUT_FILE=$(realpath $REST_API_OUTPUT_FILE);# Transform into absolute path before changing the working directory
36
+
REST_API_OPENAPI_FILE_YAML=$(realpath $REST_API_OPENAPI_FILE_YAML);# Transform into absolute path before changing the working directory
37
+
REST_API_OPENAPI_FILE_JSON=$(realpath $REST_API_OPENAPI_FILE_JSON);# Transform into absolute path before changing the working directory
0 commit comments