21 lines
472 B
PHP
21 lines
472 B
PHP
<?php
|
|
|
|
include 'vendor/autoload.php';
|
|
|
|
use Sami\Sami;
|
|
use Symfony\Component\Finder\Finder;
|
|
|
|
$iterator = Finder::create()
|
|
->files()
|
|
->name('*.php')
|
|
->in($dir = 'src')
|
|
;
|
|
|
|
return new Sami($iterator, array(
|
|
'title' => 'PHP-FFMpeg API',
|
|
'theme' => 'enhanced',
|
|
'build_dir' => __DIR__.'/docs/source/API/API',
|
|
'cache_dir' => __DIR__.'/docs/source/API/API/cache',
|
|
'default_opened_level' => 2,
|
|
));
|