From a40daeb279c5f23d5d8364355f86739d6f94021f Mon Sep 17 00:00:00 2001 From: Moshe Weitzman Date: Wed, 14 Aug 2024 08:08:26 -0400 Subject: [PATCH] Add dirs to Doctum (#6089) --- doctum-config.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/doctum-config.php b/doctum-config.php index a5f019398d..2638da281f 100644 --- a/doctum-config.php +++ b/doctum-config.php @@ -15,8 +15,14 @@ ->files() ->name('*.php') //->exclude('Resources') - //->exclude('Tests') - ->in($dir) + //->exclude('tests') + ->in([ + $dir, + __DIR__ . '/vendor/consolidation/annotated-command/src', + __DIR__ . '/vendor/consolidation/output-formatters/src', + __DIR__ . '/vendor/consolidation/robo/src', + __DIR__ . '/vendor/consolidation/site-alias/src', + ]) ; // Generate documentation for the main branch only @@ -27,7 +33,7 @@ return new Doctum($iterator, [ // 'theme' => 'symfony', // 'versions' => $versions, - 'title' => 'Drush API %version%', + 'title' => 'Drush API 13', 'build_dir' => __DIR__.'/gh-pages/api', //'build_dir' => __DIR__.'/gh-pages/api/%version%', 'cache_dir' => __DIR__.'/.doctum-cache/%version%',