mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/16587] Restore the Doctum config script and document the process
PHPBB3-16587
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user