Use Doctum instead of Sami (#761)

* Use Doctum instead of Sami

- Fix .gitignore
- Move the process to docs
- Add .gitattributes

* Fix the symfony/process versions after sami was removed

Used the maximum version of 2.x and forced 3.3 before deprecation in 3.4
This commit is contained in:
William Desportes 2020-10-12 16:04:21 +02:00 committed by GitHub
commit 6a61d67288
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 48 additions and 23 deletions

15
docs/doctum.php Normal file
View file

@ -0,0 +1,15 @@
<?php
use Doctum\Doctum;
use Symfony\Component\Finder\Finder;
$iterator = Finder::create()
->files()
->name('*.php')
->in(__DIR__.'/../src/');
return new Doctum($iterator, [
'title' => 'PHP-FFMpeg API',
'build_dir' => __DIR__.'/source/API/API',
'cache_dir' => __DIR__.'/source/API/API/cache',
]);