Blame view

vendor/imagine/imagine/docs/sami_configuration.php 451 Bytes
ad2e91f7   Mihail   move multyparser ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  <?php
  
  require __DIR__ . '/../vendor/autoload.php';
  
  use Sami\Sami;
  use Symfony\Component\Finder\Finder;
  
  $iterator = Finder::create()
      ->files()
      ->name('*.php')
      ->in('lib')
  ;
  
  return new Sami($iterator, array(
      'title'                => 'Imagine API',
      'theme'                => 'enhanced',
      'build_dir'            => __DIR__.'/API/API',
      'cache_dir'            => __DIR__.'/_build/cache',
      'default_opened_level' => 2,
  ));