22 Star 95 Fork 15

manaphp / manaphp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.sami 1006 Bytes
一键复制 编辑 原始数据 按行查看 历史
manaphp 提交于 2016-11-07 23:13 . Add config.sami
<?php
use Sami\RemoteRepository\GitLabRemoteRepository;
use Sami\Sami;
use Sami\Version\GitVersionCollection;
use Symfony\Component\Finder\Finder;
/** @noinspection PhpUndefinedClassInspection */
$iterator = Finder::create()
->files()
->name('*.php')
->exclude('Tests')
->in($dir = '/d/wamp/www/manaphp/ManaPHP');
/** @noinspection PhpUndefinedClassInspection */
$versions = GitVersionCollection::create($dir)
->add('develop', 'develop branch')
->add('master', 'master branch');
/** @noinspection PhpUndefinedClassInspection */
/** @noinspection SpellCheckingInspection */
return new Sami($iterator, array(
// 'theme' => 'symfony',
'versions' => $versions,
'title' => 'ManaPHP API',
'build_dir' => __DIR__ . '/../manaphp_api/docs/%version%',
'cache_dir' => __DIR__ . '/../manaphp_api/cache/%version%',
'remote_repository' => new GitLabRemoteRepository('manaphp/manaphp', dirname($dir), 'https://git.oschina.net/'),
'default_opened_level' => 2,
));
PHP
1
https://gitee.com/manaphp/manaphp.git
git@gitee.com:manaphp/manaphp.git
manaphp
manaphp
manaphp
master

搜索帮助