mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-16 08:18:53 +00:00
[ticket/16587] Restore the Doctum config script and document the process
PHPBB3-16587
This commit is contained in:
parent
7f29daf0d4
commit
3be5ab3a5c
1 changed files with 5 additions and 3 deletions
|
@ -21,9 +21,11 @@ $iterator = Symfony\Component\Finder\Finder::create()
|
||||||
->notPath('#^vendor/#')
|
->notPath('#^vendor/#')
|
||||||
->notPath('data');
|
->notPath('data');
|
||||||
|
|
||||||
return new Doctum\Doctum($iterator, [
|
// This variable will be used and changed in doctum-all.conf.php
|
||||||
|
$config = [
|
||||||
'title' => 'phpBB API Documentation',
|
'title' => 'phpBB API Documentation',
|
||||||
'build_dir' => __DIR__ . '/api/output/%version%',
|
'build_dir' => __DIR__ . '/api/output/%version%',
|
||||||
'cache_dir' => __DIR__ . '/api/cache/%version%',
|
'cache_dir' => __DIR__ . '/api/cache/%version%',
|
||||||
'default_opened_level' => 2,
|
];
|
||||||
]);
|
|
||||||
|
return new Doctum\Doctum($iterator, $config);
|
||||||
|
|
Loading…
Add table
Reference in a new issue