diff options
| author | Maksymilian Jopek <maks@jopek.eu> | 2023-03-26 18:31:50 +0200 |
|---|---|---|
| committer | Maksymilian Jopek <maks@jopek.eu> | 2023-03-26 18:31:50 +0200 |
| commit | 5aa7c4f9499135dd12162045e441f5215ee050aa (patch) | |
| tree | 4f95f9f2daedb0053a0b6a95a8e354d76b3c115d /php/tcpdf/scripts/doctum.php | |
| download | calendrier-menstruel-5aa7c4f9499135dd12162045e441f5215ee050aa.tar.gz calendrier-menstruel-5aa7c4f9499135dd12162045e441f5215ee050aa.tar.zst calendrier-menstruel-5aa7c4f9499135dd12162045e441f5215ee050aa.zip | |
Full working app
Diffstat (limited to 'php/tcpdf/scripts/doctum.php')
| -rw-r--r-- | php/tcpdf/scripts/doctum.php | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/php/tcpdf/scripts/doctum.php b/php/tcpdf/scripts/doctum.php new file mode 100644 index 0000000..4a9c98b --- /dev/null +++ b/php/tcpdf/scripts/doctum.php @@ -0,0 +1,34 @@ +<?php + +use Doctum\Doctum; +use Doctum\RemoteRepository\GitHubRemoteRepository; +use Symfony\Component\Finder\Finder; + +$rootDir = __DIR__ . '/../'; + +$iterator = Finder::create() + ->files() + ->name('*.php') + ->notPath('cache') + ->notPath('build') + ->notPath('fonts') + ->notPath('vendor') + ->notPath('tests') + ->notPath('examples') + ->in($rootDir); + +return new Doctum($iterator, [ + 'title' => 'TCPDF', + 'build_dir' => $rootDir . '/build', + 'cache_dir' => $rootDir . '/cache', + 'source_dir' => $rootDir, + 'remote_repository' => new GitHubRemoteRepository('tecnickcom/TCPDF', $rootDir), + 'footer_link' => [ + 'href' => 'https://github.com/tecnickcom/TCPDF#readme', + 'rel' => 'noreferrer noopener', + 'target' => '_blank', + 'before_text' => 'This documentation is for', + 'link_text' => 'TCPDF', + 'after_text' => 'the PHP library to build PDFs.', + ], +]); |
