From 3be5ab3a5c87544c4dc7786cfb5c4dec609d0d0b Mon Sep 17 00:00:00 2001 From: William Desportes Date: Tue, 8 Sep 2020 11:08:35 +0200 Subject: [PATCH] [ticket/16587] Restore the Doctum config script and document the process PHPBB3-16587 --- build/doctum-checkout.conf.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build/doctum-checkout.conf.php b/build/doctum-checkout.conf.php index bf8a930999..bbcf8f26ba 100644 --- a/build/doctum-checkout.conf.php +++ b/build/doctum-checkout.conf.php @@ -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);