mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 06:44:04 +00:00
17 lines
411 B
PHP
17 lines
411 B
PHP
<?php
|
|
|
|
use Doctum\Doctum;
|
|
use Symfony\Component\Finder\Finder;
|
|
|
|
$iterator = Finder::create()
|
|
->files()
|
|
->name('*.php')
|
|
// ->exclude('Resources')
|
|
// ->exclude('Tests')
|
|
->in('src/');
|
|
|
|
return new Doctum($iterator, [
|
|
'title' => 'Tenancy for Laravel API Documentation',
|
|
'base_url' => 'https://api.tenancyforlaravel.com/',
|
|
'favicon' => 'https://tenancyforlaravel.com/favicon.ico',
|
|
]);
|