Skip to content

Commit

Permalink
Add dirs to Doctum (#6089)
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Aug 14, 2024
1 parent ebbd130 commit a40daeb
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions doctum-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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%',
Expand Down

0 comments on commit a40daeb

Please sign in to comment.