openstamanager/.sami

30 lines
603 B
Plaintext
Executable File

<?php
use Sami\Sami;
use Sami\Parser\Filter\TrueFilter;
use Symfony\Component\Finder\Finder;
$finder = Finder::create()
->files()
->name('*.php')
->exclude('.couscous')
->exclude('node_modules')
->exclude('vendor')
->exclude('tests')
->ignoreDotFiles(true)
->ignoreVCS(true)
->in(__DIR__);
$sami = new Sami($finder, [
'theme' => 'default',
'title' => 'OpenSTAManager',
'build_dir' => __DIR__.'/.couscous/generated/docs',
'cache_dir' => __DIR__.'/.couscous/cache',
]);
$sami['filter'] = function () {
return new TrueFilter();
};
return $sami;