Add sami config

master
qcloudsms 7 years ago
parent eac2b0d332
commit 4a26e65676
  1. 1
      .gitignore
  2. 17
      sami_config.php

1
.gitignore vendored

@ -1,4 +1,5 @@
/bin
.env
/cache
composer.lock
/vendor

@ -0,0 +1,17 @@
<?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",
));
Loading…
Cancel
Save