mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-13 20:32:11 +02:00
[ticket/16587] Restore the Doctum config script and document the process
PHPBB3-16587
This commit is contained in:
parent
7f29daf0d4
commit
3be5ab3a5c
@ -21,9 +21,11 @@ $iterator = Symfony\Component\Finder\Finder::create()
|
||||
->notPath('#^vendor/#')
|
||||
->notPath('data');
|
||||
|
||||
return new Doctum\Doctum($iterator, [
|
||||
// This variable will be used and changed in doctum-all.conf.php
|
||||
$config = [
|
||||
'title' => 'phpBB API Documentation',
|
||||
'build_dir' => __DIR__ . '/api/output/%version%',
|
||||
'cache_dir' => __DIR__ . '/api/cache/%version%',
|
||||
'default_opened_level' => 2,
|
||||
]);
|
||||
];
|
||||
|
||||
return new Doctum\Doctum($iterator, $config);
|
||||
|
Loading…
x
Reference in New Issue
Block a user