Update doctum-config.php

This commit is contained in:
michael-grunder
2025-11-07 10:44:15 -08:00
committed by Michael Grunder
parent d6437f5e95
commit 10c0bf0fcf
+6 -9
View File
@@ -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
),
]);