forked from QodeHub/slydepay-php-rest-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sami.config.php
36 lines (29 loc) · 1000 Bytes
/
sami.config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
// require_once 'vendor/autoload.php';
// use Sami\RemoteRepository\GitHubRemoteRepository;
use Sami\Sami;
// use Sami\Version\GitVersionCollection;
use Symfony\Component\Finder\Finder;
$finder = Finder::create()
->files()
->name('*.php')
->in($dir = __DIR__ . '/src')
;
// generate documentation for all v2.0.* tags, the 2.0 branch, and the master one
// $versions = GitVersionCollection::create($dir)
// ->addFromTags('v1.0.*')
// // ->add('1.0', '1.0 branch')
// ->add('master', 'master branch')
// ;
$config = array(
'theme' => 'ovac',
'versions' => $versions = 'master',
'title' => 'QuodeHub BitGo V2 PHP SDK',
'build_dir' => __DIR__ . '/build/sami',
'cache_dir' => __DIR__ . '/build/sami_cache',
'default_opened_level' => 2,
// 'remote_repository' => new GitHubRemoteRepository('qodehub/slydepay-php', dirname($dir)),
'template_dirs' => array(__DIR__ . '/../themes/default'),
);
$sami = new Sami($finder, $config);
return $sami;