Commit 03b00fbe authored by Tino Goratsch's avatar Tino Goratsch

[refs #59] added the first parts of the API docs website

parent 4743d27c
......@@ -3,6 +3,7 @@
* Copyright (c) by the ACP3 Developers.
* See the LICENCE file at the top-level module directory for licencing details.
use Sami\Sami;
use Symfony\Component\Finder\Finder;
$iterator = Finder::create()
->in($dir = __DIR__ . '/ACP3');
return new Sami($iterator, array(
'title' => 'ACP3 CMS API',
'build_dir' => __DIR__ . '/build/sami/docs',
'cache_dir' => __DIR__ . '/build/sami/cache',
'default_opened_level' => 2,
curl -O
git clone ./build/
cd ./build/
git checkout -q -b ${BRANCH_NAME}
git rm -q -r .
php ../../sami.phar update ../../.sami.php
cp -r ../sami/docs/* .
git add .
git commit -am "Updated the API docs"
git checkout -q master
git merge -q ${BRANCH_NAME}
git branch -q -d ${BRANCH_NAME}
git push --all
This diff is collapsed.
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