You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
379 B
18 lines
379 B
5 years ago
|
<?php
|
||
|
|
||
|
use Sami\Sami;
|
||
|
use Sami\RemoteRepository\GitHubRemoteRepository;
|
||
|
use Symfony\Component\Finder\Finder;
|
||
|
|
||
|
$iterator = Finder::create()
|
||
|
->files()
|
||
|
->name("*.php")
|
||
|
->exclude("Resources")
|
||
|
->exclude("Tests")
|
||
|
->in(__DIR__."/src/");
|
||
|
|
||
|
return new Sami($iterator, array(
|
||
|
"build_dir" => __DIR__."/docs",
|
||
|
"cache_dir" => __DIR__."/cache",
|
||
|
));
|