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);