Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
feat(docs): added script to generate code documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
DIOHz0r authored and ajsb85 committed Nov 7, 2017
1 parent 1f50b7f commit 71d31ed
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .sami.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php


use Sami\Version\GitVersionCollection;

$dir = 'src';
/*$versions = GitVersionCollection::create($dir)
//->addFromTags('v1.*')
//->add('master', 'master branch')
//->add('develop', 'develop branch')
->add('fetaure/client_updates', 'fetaure/client_updates branch')
;*/
return new Sami\Sami($dir, [
'theme' => 'default',
'title' => 'GLPI API Client Library for PHP',
'build_dir' => __DIR__ . '/build/twig/%version%',
'cache_dir' => __DIR__ . '/cache/twig/%version%',
'simulate_namespaces' => true,
'default_opened_level' => 1,
// 'versions' => $versions,
]);

0 comments on commit 71d31ed

Please sign in to comment.