diff --git a/tools/raml2html/README.md b/tools/raml2html/README.md index 4dc562afaa..423839a5cf 100644 --- a/tools/raml2html/README.md +++ b/tools/raml2html/README.md @@ -14,5 +14,5 @@ To generate static HTML from RAML definitions, use the following code: ```sh -php tools/raml2html/raml2html.php build --non-standard-http-methods=COPY,MOVE,PUBLISH,SWAP -t default -o docs/api/rest_api_reference/output/ docs/api/rest_api_reference/input/ez.raml +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/ez.raml ``` diff --git a/tools/raml2html/composer.json b/tools/raml2html/composer.json index adc9a1f5b3..d39e716036 100644 --- a/tools/raml2html/composer.json +++ b/tools/raml2html/composer.json @@ -1,39 +1,49 @@ { - "name": "ezsystems/raml2html", + "name": "ibexa/raml2html", "type": "project", "license": "MIT", "authors": [ { "name": "Adam Wójs", "email": "adam@wojs.pl" - } - ], - "repositories": [ + }, { - "type": "vcs", - "url": "https://github.com/adamwojs/raml-php-parser" + "name": "Adrien Dupuis", + "email": "adrien.dupuis@ibexa.co" } ], "require": { - "php": "^7.4", - "symfony/console": "^4.2", - "raml-org/raml-php-parser": "dev-master", - "twig/twig": "^2.0", - "symfony/filesystem": "^4.2", - "ramsey/uuid": "^3.9", - "twig/markdown-extra": "^3.5", - "league/commonmark": "^2.3" + "php": "^8.0", + "symfony/console": "^6.0", + "raml-org/raml-php-parser": "^4.8", + "twig/twig": "^3.6", + "symfony/filesystem": "^6.0", + "ramsey/uuid": "^4.7", + "twig/markdown-extra": "^3.6", + "league/commonmark": "^2.3", + "cweagans/composer-patches": "^1.7" }, "require-dev": { - "symfony/var-dumper": "^4.2", - "ezsystems/ezplatform-code-style": "^0.1.0" + "symfony/var-dumper": "^6.0", + "ibexa/code-style": "^1.2" }, "autoload": { "psr-4": { "EzSystems\\Raml2Html\\": "src" } }, - "scripts": { - "fix-cs": "php-cs-fixer fix -v --show-progress=estimating" + "config": { + "allow-plugins": { + "cweagans/composer-patches": true + } + }, + "extra": { + "patches": { + "raml-org/raml-php-parser": { + "Array of scalars": "https://github.com/raml-org/raml-php-parser/commit/d2e58eac1705a8cf2be43ed3d482006e67e4ef2d.patch", + "No available type list in type not found exception": "https://github.com/raml-org/raml-php-parser/commit/d54af98b9bd6d2400bbdd1c186e9b86c2dd88c83.patch", + "Fix warnings and depreciations for PHP 8.1": "https://patch-diff.githubusercontent.com/raw/raml-org/raml-php-parser/pull/180.patch" + } + } } }