Skip to content

Commit 4ec70c2

Browse files
committed
Merge branch 'phpdoc-5.0' into phpdoc-5.0-html
2 parents 72d8feb + 0f7ca8c commit 4ec70c2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/api_refs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jobs:
2020
version="${{ inputs.version }}"
2121
base_branch="$(echo $version | sed 's/v\(.*\..*\)\..*/\1/')"
2222
work_branch="api_refs_$version"
23+
#TMP
24+
if [[ '5.0' == $base_branch ]]; then
25+
base_branch='phpdoc-5.0'
26+
fi
27+
#/TMP
2328
echo "version=$version" >> "$GITHUB_OUTPUT"
2429
echo "base_branch=$base_branch" >> "$GITHUB_OUTPUT"
2530
echo "work_branch=$work_branch" >> "$GITHUB_OUTPUT"

tools/php_api_ref/phpdoc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ OUTPUT_DIR=${2:-./docs/api/php_api/php_api_reference}; # Path to the directory w
77

88
DXP_EDITION='commerce'; # Edition from and for which the Reference is built
99
DXP_VERSION='5.0.x-dev'; # Version from and for which the Reference is built
10-
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"
10+
DXP_ADD_ONS=(automated-translation rector); # Packages not included in $DXP_EDITION but added to the Reference, listed without their vendor "ibexa"
1111
DXP_EDITIONS=(oss headless experience commerce); # Available editions ordered by ascending capabilities
1212
SF_VERSION='7.2'; # Symfony version used by Ibexa DXP
1313
PHPDOC_VERSION='3.7.1'; # Version of phpDocumentor used to build the Reference
@@ -53,7 +53,7 @@ cd $TMP_DXP_DIR; # /!\ Change working directory (reason why all paths must be ab
5353
if [ 0 -eq $DXP_ALREADY_EXISTS ]; then
5454
echo "Creating ibexa/$DXP_EDITION-skeleton:$DXP_VERSION project in ${TMP_DXP_DIR}";
5555
if [[ "$DXP_VERSION" == *".x-dev" ]]; then
56-
composer create-project ibexa/website-skeleton:$DXP_VERSION . --no-interaction --no-install --ignore-platform-reqs --no-scripts --stability=dev;
56+
composer create-project ibexa/website-skeleton:$DXP_VERSION . --no-interaction --ignore-platform-reqs --no-scripts --stability=dev;
5757
if [ -n "$AUTH_JSON" ]; then
5858
cp $AUTH_JSON ./;
5959
fi;

0 commit comments

Comments
 (0)