mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-29 09:11:11 +01:00
c25aff729f
Risoluzione completa del bug #3, causato da alcuni problemi con l'inputmask inizializzata con valori negativi.
30 lines
603 B
Plaintext
30 lines
603 B
Plaintext
<?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;
|