Add API tool and configuration
This commit is contained in:
parent
4f8c26962b
commit
325e635663
2 changed files with 10 additions and 3 deletions
5
buildAPI.sh
Executable file
5
buildAPI.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
rm -Rf docs/source/API/API
|
||||
/usr/bin/env php vendor/bin/sami.php update sami_configuration.php
|
||||
sh -c "cd docs && make clean && make html"
|
||||
|
|
@ -13,7 +13,9 @@ $iterator = Finder::create()
|
|||
;
|
||||
|
||||
return new Sami($iterator, array(
|
||||
'title' => 'PHP FFMpeg API',
|
||||
'build_dir' => __DIR__.'/docs/API',
|
||||
'cache_dir' => __DIR__.'/docs/API/cache',
|
||||
'title' => 'PHP-XPDF API',
|
||||
'theme' => 'enhanced',
|
||||
'build_dir' => __DIR__.'/docs/source/API/API',
|
||||
'cache_dir' => __DIR__.'/docs/source/API/API/cache',
|
||||
'default_opened_level' => 2,
|
||||
));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue