mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
Update doctum-config.php
This commit is contained in:
committed by
Michael Grunder
parent
d6437f5e95
commit
10c0bf0fcf
+6
-9
@@ -1,9 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Doctum\Doctum;
|
||||
use Doctum\Version\GitVersionCollection;
|
||||
use Doctum\RemoteRepository\GitHubRemoteRepository;
|
||||
|
||||
use Symfony\Component\Finder\Finder;
|
||||
|
||||
$root = realpath(__DIR__);
|
||||
@@ -13,16 +11,15 @@ $iterator = Finder::create()
|
||||
->name('*.stub.php')
|
||||
->in($root);
|
||||
|
||||
//$versions = GitVersionCollection::create($root)
|
||||
// ->add('develop', 'develop');
|
||||
|
||||
return new Doctum($iterator, [
|
||||
'title' => 'PhpRedis API',
|
||||
'language' => 'en',
|
||||
'source_dir' => $root,
|
||||
'build_dir' => "{$root}/docs",
|
||||
'cache_dir' => "{$root}/docs/.cache",
|
||||
'build_dir' => $root . '/docs',
|
||||
'cache_dir' => $root . '/docs/.cache',
|
||||
'base_url' => 'https://phpredis.github.io/',
|
||||
// 'versions' => $versions,
|
||||
'remote_repository' => new GitHubRemoteRepository('phpredis/phpredis', $root),
|
||||
'remote_repository' => new GitHubRemoteRepository(
|
||||
'phpredis/phpredis',
|
||||
$root
|
||||
),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user