Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
07861af
Exclude the local worklist from version control
mnocon Sep 7, 2026
ab14665
Delete the redirect map and the redirects plugin configuration
mnocon Sep 7, 2026
e279900
Merge ticket 02: delete the redirect map
mnocon Sep 7, 2026
4ad3378
Add SaaS conversion-invariant test with an accepted baseline
mnocon Sep 7, 2026
18836f2
Merge ticket 01: conversion-invariant test with a baseline
mnocon Sep 7, 2026
54e356b
Delete all tutorials and remove the Tutorials nav section
mnocon Sep 7, 2026
47cfa09
Merge ticket 12: delete all tutorials
mnocon Sep 7, 2026
7fa569b
Delete the Templating section (ticket 08)
mnocon Sep 7, 2026
7ab93b5
Ticket 07: reduce the API section to REST
mnocon Sep 7, 2026
37a802a
Merge ticket 08: delete the Templating section
mnocon Sep 7, 2026
6111858
Delete self-hosting content
mnocon Sep 7, 2026
ddbc52b
Merge ticket 07: reduce the API section to REST
mnocon Sep 7, 2026
76938d0
Delete console-only pages: data migration, search reindex, translate-…
mnocon Sep 7, 2026
a15fc9a
Merge ticket 09: delete self-hosting content
mnocon Sep 7, 2026
48594cc
Delete edition pages and add on-premise pointer page
mnocon Sep 7, 2026
d079b9b
Merge ticket 10: delete console-only pages
mnocon Sep 7, 2026
8127f14
Merge ticket 05: delete edition pages, add on-premise pointer
mnocon Sep 7, 2026
44bba2f
Resolve add-on installation pages (ticket 13)
mnocon Sep 7, 2026
adb5e96
Merge ticket 13: resolve add-on installation pages
mnocon Sep 7, 2026
5da3744
Strip edition markers from pages, theme, badges, and styles (ticket 03)
mnocon Sep 7, 2026
82208be
Merge ticket 03: strip edition markers
mnocon Sep 7, 2026
78c68d1
Ticket 11: delete code-level extension points
mnocon Sep 7, 2026
bcdbec9
Remove edition support from the llms.txt pipeline
mnocon Sep 7, 2026
eae1d20
Merge ticket 11: delete code-level extension points
mnocon Sep 7, 2026
485a4f3
Delete edition and cloud product-name variables (ticket 06)
mnocon Sep 7, 2026
9f21671
Merge ticket 04: remove edition support from the llms.txt pipeline
mnocon Sep 7, 2026
0815a3e
Merge ticket 06: delete edition and cloud name variables
mnocon Sep 7, 2026
b68aa42
14: Strip PHP from the search reference trees
mnocon Sep 8, 2026
a988bbc
15: Strip PHP from content management
mnocon Sep 8, 2026
13f52f4
Merge ticket 14: strip PHP from the search reference trees
mnocon Sep 8, 2026
fddd3fa
Merge ticket 15: strip PHP from content management
mnocon Sep 8, 2026
f6a80a7
16: Strip PHP from administration
mnocon Sep 8, 2026
5ed36a4
17: Strip PHP from the remaining sections
mnocon Sep 8, 2026
3119cbe
Merge ticket 16: strip PHP from administration
mnocon Sep 8, 2026
69037f4
Merge ticket 17: strip PHP from the remaining sections
mnocon Sep 8, 2026
7da3b23
18: Add SiteAccess review labels
mnocon Sep 8, 2026
d3c7d45
Remove PHP repository tooling (ticket 21)
mnocon Sep 8, 2026
a2884ab
Merge ticket 18: add SiteAccess review labels
mnocon Sep 8, 2026
c8cdd92
Merge ticket 21: remove PHP repository tooling
mnocon Sep 8, 2026
bd2e0f0
Rebuild the documentation entry points for Cohesivo (ticket 19)
mnocon Sep 8, 2026
ded9a1f
19: Clear the last LTS Update and bundle-translation residue
mnocon Sep 8, 2026
1f3f256
Merge ticket 19: rebuild the entry points
mnocon Sep 8, 2026
5676349
20: Remove the SaaS conversion invariant baseline and its test scaffo…
mnocon Sep 8, 2026
e962135
Merge ticket 20: empty and delete the invariant baseline
mnocon Sep 8, 2026
c61b4d6
Review fixes 1: strip Twig instead of deleting authoring pages
mnocon Sep 8, 2026
9b4581a
Review fixes 2: remove the surviving console-command sections
mnocon Sep 8, 2026
202cc8a
Review fixes 3: stop telling a tenant to edit files on disk
mnocon Sep 8, 2026
c4f2e52
Review fixes 4: remove the last edition mechanism from the llms.txt p…
mnocon Sep 8, 2026
f3395fb
Review fixes 5: repair the reader-visible defects the strip left
mnocon Sep 8, 2026
44b2bab
Review fixes 6: naming and the redundant example heading
mnocon Sep 8, 2026
7286cef
Merge code review fixes
mnocon Sep 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 0 additions & 1 deletion .agents/skills/external/ibexa-documentation/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ When the documentation and the installed code don't match, the code is right.
## Conventions

- Links between pages are relative and work offline. Follow them for related topics.
- PHP API references link to the class source in this project's `vendor/` directory. If the target file doesn't exist, that package isn't installed.

## Keep documentation up to date

Expand Down
2 changes: 0 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,5 @@
- [ ] Text renders correctly
- [ ] Text has been checked with vale
- [ ] Description metadata is up to date
- [ ] Redirects cover removed/moved pages
- [ ] Code samples are working
- [ ] PHP code samples have been fixed with PHP CS fixer
- [ ] Added link to this PR in relevant JIRA ticket or code PR
53 changes: 14 additions & 39 deletions .github/workflows/api_refs.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: 'Build API Refs'
name: 'Build REST API Reference'

on:
workflow_dispatch:
inputs:
version:
# The version to build the API Reference for.
# The version to build the REST API Reference for.
# Use a released tag (e.g. v5.0.9) or a plain number (e.g. 5.0.9).
description: 'Version (e.g. v5.0.9 or 5.0.9)'
required: true
type: string
use_dev_version:
# When checked, Composer installs from the x-dev branch instead of a released tag.
# Useful for building a reference before the final release is tagged.
# Example: version=5.0.9 + use_dev_version=true → DXP_VERSION=v5.0.x-dev, BASE_DXP_BRANCH=5.0, VIRTUAL_DXP_VERSION=5.0.9
# Example: version=5.0.9 + use_dev_version=true → DXP_VERSION=v5.0.x-dev, VIRTUAL_DXP_VERSION=5.0.9
description: 'Use x-dev branch (default: false)'
required: false
type: boolean
Expand All @@ -32,8 +32,8 @@ on:
default: false

jobs:
open_php_api_ref_pr:
name: "PHP & REST API References' PR"
open_rest_api_ref_pr:
name: "REST API Reference's PR"
runs-on: ubuntu-26.04

steps:
Expand All @@ -59,21 +59,19 @@ jobs:

if [[ "$INPUT_USE_DEV_VERSION" == "true" ]]; then
# Dev build: install from the x-dev branch and label output with the target version
base_dxp_branch="$(echo "$version" | sed 's/\(.*\..*\)\..*/\1/')"
dxp_version="v${base_dxp_branch}.x-dev"
dxp_branch="$(echo "$version" | sed 's/\(.*\..*\)\..*/\1/')"
dxp_version="v${dxp_branch}.x-dev"
virtual_dxp_version="${version}"
else
# Stable build: install from the released tag
dxp_version="v${version}"
base_dxp_branch=""
virtual_dxp_version=""
fi

echo "version=v${version}" >> "$GITHUB_OUTPUT"
echo "base_branch=${base_branch}" >> "$GITHUB_OUTPUT"
echo "work_branch=${work_branch}" >> "$GITHUB_OUTPUT"
echo "dxp_version=${dxp_version}" >> "$GITHUB_OUTPUT"
echo "base_dxp_branch=${base_dxp_branch}" >> "$GITHUB_OUTPUT"
echo "virtual_dxp_version=${virtual_dxp_version}" >> "$GITHUB_OUTPUT"

- name: Checkout documentation
Expand Down Expand Up @@ -109,60 +107,37 @@ jobs:
private-key: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
owner: ibexa

- name: Build API Refs
- name: Build REST API Reference
env:
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
BASE_BRANCH: ${{ steps.version_and_branches.outputs.base_branch }}
DXP_VERSION: ${{ steps.version_and_branches.outputs.dxp_version }}
BASE_DXP_BRANCH: ${{ steps.version_and_branches.outputs.base_dxp_branch }}
VIRTUAL_DXP_VERSION: ${{ steps.version_and_branches.outputs.virtual_dxp_version }}
run: |
if [ -n "$GITHUB_TOKEN" ]; then
composer config --global github-oauth.github.com "$GITHUB_TOKEN"
fi
composer config --global http-basic.updates.ibexa.co $SATIS_NETWORK_KEY $SATIS_NETWORK_TOKEN

if [[ '4.6' != $BASE_BRANCH ]]; then
tools/api_refs/api_refs.sh
# Fix escape character:
perl -pi -e 's/\e/\\E/g' tools/api_refs/.phpdoc/template/package-edition-map.twig
else
tools/php_api_ref/phpdoc.sh
# Fix escape character:
perl -pi -e 's/\e/\\E/g' tools/php_api_ref/.phpdoc/template/package-edition-map.twig
cd tools/raml2html/; composer install; cd -;
php tools/raml2html/raml2html.php build --non-standard-http-methods=COPY,MOVE,PUBLISH,SWAP -t default -o docs/api/rest_api/rest_api_reference/ docs/api/rest_api/rest_api_reference/input/ibexa.raml
fi
tools/api_refs/api_refs.sh

- name: Commit
env:
BASE_BRANCH: ${{ steps.version_and_branches.outputs.base_branch }}
run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git add docs/api/php_api/php_api_reference/
if [[ '4.6' != $BASE_BRANCH ]]; then
git add tools/api_refs/.phpdoc/template/package-edition-map.twig
else
git add tools/php_api_ref/.phpdoc/template/package-edition-map.twig
fi
git diff-index --quiet --cached HEAD || git commit -m "PHP API Ref HTML"
git add docs/api/rest_api/rest_api_reference/rest_api_reference.html
git diff-index --quiet --cached HEAD || git commit -m "REST API Ref HTML"
if [[ '4.6' != $BASE_BRANCH ]]; then
git add docs/api/rest_api/rest_api_reference/openapi.yaml
git add docs/api/rest_api/rest_api_reference/openapi.json
git diff-index --quiet --cached HEAD || git commit -m "REST API OpenAPI spec"
fi
git add docs/api/rest_api/rest_api_reference/openapi.yaml
git add docs/api/rest_api/rest_api_reference/openapi.json
git diff-index --quiet --cached HEAD || git commit -m "REST API OpenAPI spec"

- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.EZROBOT_PAT }}
title: "API Refs ${{ steps.version_and_branches.outputs.version }}"
body: "PHP API & REST API References update for ${{ steps.version_and_branches.outputs.version }}"
title: "REST API Reference ${{ steps.version_and_branches.outputs.version }}"
body: "REST API Reference update for ${{ steps.version_and_branches.outputs.version }}"
branch: "${{ steps.version_and_branches.outputs.work_branch }}"
base: "${{ steps.version_and_branches.outputs.base_branch }}"
draft: false
Expand Down
16 changes: 1 addition & 15 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
coverage: none

- uses: "ramsey/composer-install@v4"
with:
working-directory: "tools/php-cs-fixer"
dependency-versions: highest

- name: Run PHP CS Fixer
run: tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php -v --show-progress=dots

- name: Run Prettier
run: |
yarn install
Expand All @@ -51,7 +37,7 @@ jobs:
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: PHP & JS CS Fixes
commit_message: JS CS Fixes

- name: Install dependencies
run: |
Expand Down
164 changes: 0 additions & 164 deletions .github/workflows/code_samples.yaml

This file was deleted.

26 changes: 4 additions & 22 deletions .github/workflows/preview_comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,34 +32,16 @@ jobs:
build_url="https://ez-systems-developer-documentation--${{ github.event.pull_request.number }}.com.readthedocs.build/${{inputs.project}}en/${{ github.event.pull_request.number }}/"

md_change_list=$(git diff --name-only HEAD "origin/$GITHUB_BASE_REF" -- docs/ | grep -E "^docs\/.*\.md$" | sed -E "s|^docs/(.*)\.md$|- [docs/\1.md](${build_url}\1/)|")
par_change_list='';
for par_file in $(git diff --diff-filter=A --name-only "origin/$GITHUB_BASE_REF" HEAD -- docs/api/php_api/php_api_reference/ | grep -E '^docs\/.*\.html$'); do
fqcn=$(grep -o 'data-copy-value=".*">Copy FQCN' $par_file | sed -E 's|data-copy-value="(.*)">.*|\1|' | sed 's|\\|\\\\|g')
link=$(echo $par_file | sed -E "s|^docs/(.*\.html)$|- [\`${fqcn}\`](${build_url}\1)|")
par_change_list=$(echo -e "$par_change_list\n$link")
done
par_change_list=$(echo "$par_change_list" | sed '1d' | sort -t '`' -k 2,2)
change_count=$(( $(echo "$md_change_list" | wc -l) + $(echo "$par_change_list" | wc -l) ))
change_count=$(echo "$md_change_list" | wc -l)

echo -e "Markdown files:\n$md_change_list\n\nPHP API Ref.:\n$par_change_list" | perl -p -e 's/\e/\\E/g'
echo -e "Markdown files:\n$md_change_list" | perl -p -e 's/\e/\\E/g'

if [[ $change_count -gt $file_limit ]]; then
par_change_list=$(echo "$par_change_list" | grep -v namespaces)
change_count=$(( $(echo "$md_change_list" | wc -l) + $(echo "$par_change_list" | wc -l) ))
fi

if [[ -z "$md_change_list$par_change_list" ]]; then
if [[ -z "$md_change_list" ]]; then
comment="Preview of modified files: no change to preview."
elif [[ $change_count -gt $file_limit ]]; then
comment="Preview of modified files: Too many files modified in a single PR, preview link list is skipped. ($change_count files > $file_limit)"
else
comment="# Preview of modified files"
if [[ -n "$md_change_list" ]]; then
comment="$comment\n\nPreview of modified Markdown:\n\n$md_change_list"
fi
if [[ -n "$par_change_list" ]]; then
comment="$comment\n\nPreview of addition to PHP API Reference:\n\n$par_change_list"
fi
comment="# Preview of modified files\n\nPreview of modified Markdown:\n\n$md_change_list"
fi

echo -e "$comment" | perl -p -e 's/\e/\\E/g' > comment.md
Expand Down
Loading
Loading