diff --git a/buildAPI.sh b/buildAPI.sh new file mode 100755 index 0000000..aad8c56 --- /dev/null +++ b/buildAPI.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +rm -Rf docs/source/API/API +/usr/bin/env php vendor/bin/sami.php update sami_configuration.php +sh -c "cd docs && make clean && make html" diff --git a/sami_configuration.php b/sami_configuration.php index a2422f3..ad696b5 100644 --- a/sami_configuration.php +++ b/sami_configuration.php @@ -13,7 +13,9 @@ $iterator = Finder::create() ; return new Sami($iterator, array( - 'title' => 'PHP FFMpeg API', - 'build_dir' => __DIR__.'/docs/API', - 'cache_dir' => __DIR__.'/docs/API/cache', + 'title' => 'PHP-XPDF API', + 'theme' => 'enhanced', + 'build_dir' => __DIR__.'/docs/source/API/API', + 'cache_dir' => __DIR__.'/docs/source/API/API/cache', + 'default_opened_level' => 2, ));