HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
File: /datos/www/fabricas.colombiatrade.com.co/vendor2/drush/drush/sami-config.php
<?php

/**
 * A Sami config file. See https://github.com/FriendsOfPHP/Sami.
 */

use Sami\Sami;
use Sami\RemoteRepository\GitHubRemoteRepository;
use Sami\Version\GitVersionCollection;
use Symfony\Component\Finder\Finder;

$iterator = Finder::create()
  ->files()
  ->name('*.php')
  //->exclude('Resources')
  //->exclude('Tests')
  ->in($dir = __DIR__.'/src')
;

// generate documentation for all v2.0.* tags, the 2.0 branch, and the master one
$versions = GitVersionCollection::create($dir)
  // ->addFromTags('8.*')
 //  ->add('8.x', '8.x branch')
  ->add('master', 'Master branch')
;

return new Sami($iterator, array(
  // 'theme'                => 'symfony',
  'versions'             => $versions,
  'title'                => 'Drush API',
  'build_dir'            => __DIR__.'/api/%version%',
  'cache_dir'            => __DIR__.'/.sami-cache/%version%',
  'remote_repository'    => new GitHubRemoteRepository('drush-ops/drush', dirname($dir)),
  'default_opened_level' => 2,
));