Commit 0413128f authored by Roman Ondráček's avatar Roman Ondráček

GitLab CI: update phpDocumentator

Signed-off-by: Roman Ondráček's avatarRoman Ondráček <ondracek.roman@centrum.cz>
parent 7b7f3245
Pipeline #2131 passed with stages
in 13 minutes and 31 seconds
......@@ -226,8 +226,8 @@ deploy-api-docs:
only:
- master
script:
- curl -L https://github.com/phpDocumentor/phpDocumentor2/releases/download/v3.0.0-alpha.3/phpDocumentor.phar -o phpDocumentor.phar
- curl -L https://github.com/phpDocumentor/phpDocumentor2/releases/download/v3.0.0-alpha.3/phpDocumentor.phar.pubkey -o phpDocumentor.phar.pubkey
- curl -L https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.0.0-rc/phpDocumentor.phar -o phpDocumentor.phar
- curl -L https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.0.0-rc/phpDocumentor.phar.asc -o phpDocumentor.phar.asc
- php phpDocumentor.phar
- rsync -hrvz --delete -e ssh docs/api/ www-deploy@iqrfsdk.org:/data/nginx/apidocs/iqrf-gateway-webapp/
<<: *ssh_template
......
......@@ -121,7 +121,7 @@ class FeatureManager {
/**
* Lists the optional features
* @return array<array<string,string,string>> Optional features
* @return string[][] Optional features
* @throws NeonException
*/
public function list(): array {
......
......@@ -7,12 +7,13 @@ RUN apt-get update \
&& wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg \
&& sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' \
&& apt-get update \
&& apt-get install --no-install-recommends -y apt-transport-https build-essential composer debhelper devscripts \
dh-apache2 graphviz fakeroot git-buildpackage openssh-client python3-recommonmark python3-sphinx pkg-php-tools rsync \
&& apt-get install --no-install-recommends -y build-essential composer debhelper devscripts \
dh-apache2 graphviz fakeroot git-buildpackage openssh-client pkg-php-tools rsync \
php7.2 php7.2-common php7.2-cgi php7.2-cli php7.2-curl php7.2-json php7.2-phpdbg php7.2-mbstring php7.2-sqlite3 php7.2-xml php7.2-zip \
php7.3 php7.3-common php7.3-cgi php7.3-cli php7.3-curl php7.3-json php7.3-phpdbg php7.3-mbstring php7.3-sqlite3 php7.3-xml php7.3-zip \
php7.4 php7.4-common php7.4-cgi php7.4-cli php7.4-curl php7.4-json php7.4-phpdbg php7.4-mbstring php7.4-sqlite3 php7.4-xml php7.4-zip \
php php-common php-cgi php-cli php-curl php-json php-phpdbg php-mbstring php-sqlite3 php-xml php-zip python3-pip python3-setuptools \
php php-common php-cgi php-cli php-curl php-json php-phpdbg php-mbstring php-sqlite3 php-xml php-zip \
python3-pip python3-recommonmark python3-sphinx python3-setuptools python3-wheel \
&& pip3 install sphinx-corlab-theme \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
<?xml version="1.0" encoding="UTF-8" ?>
<phpdocumentor>
<title>IQRF Gateway Webapp</title>
<parser>
<target>temp/api-cache/</target>
</parser>
<transformer>
<target>docs/api/</target>
</transformer>
<files>
<directory>app/</directory>
<directory>tests/</directory>
</files>
<plugins>
<plugin path="Core"/>
</plugins>
<transformations>
<template name="clean"/>
</transformations>
<phpdocumentor
configVersion="3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.phpdoc.org"
xsi:noNamespaceSchemaLocation="data/xsd/phpdoc.xsd"
>
<paths>
<output>docs/api</output>
</paths>
<version number="3.0.0">
<folder>latest</folder>
<api>
<source dsn=".">
<path>app/</path>
</source>
<output>api</output>
<ignore hidden="true" symlinks="true">
<path>tests/**/*</path>
<path>build/**/*</path>
<path>var/**/*</path>
<path>vendor/**/*</path>
</ignore>
<extensions>
<extension>php</extension>
</extensions>
<default-package-name>IQRF Gateway Webapp</default-package-name>
</api>
<guide>
<source dsn=".">
<path>docs</path>
</source>
<output>dox</output>
</guide>
</version>
<template name="clean"/>
</phpdocumentor>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment