-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Description
Hi,
PHP Version: 7.4.5
Doctum version: 5.2.0
I upgraded to 5.2.0 from 5.1.0 this morning. Since this update I'm getting the following error:
Notice: Undefined index: template_dirs in .../vendor/code-lts/doctum/src/Doctum.php line 424
Our build file is as follows:
require __DIR__.'/vendor/autoload.php';
use Doctum\Doctum;
use Symfony\Component\Finder\Finder;
use Doctum\Version\GitVersionCollection;
use Doctum\RemoteRepository\GitHubRemoteRepository;
$iterator = Finder::create()
->files()
->name('*.php')
->exclude('stubs')
->exclude('database')
->exclude('bootstrap')
->exclude('storage')
->in($dir = __DIR__.'/src');
$versions = GitVersionCollection::create($dir)
->add('master', 'Main Branch');
return new Doctum($iterator, array(
'title' => 'API',
'versions' => $versions,
'build_dir' => __DIR__.'/build/%version%',
'cache_dir' => __DIR__.'/cache/%version%',
'default_opened_level' => 2,
'remote_repository' => new GitHubRemoteRepository('RepoName', dirname($dir)),
));
williamdes
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working