Skip to content

Commit 31b6d98

Browse files
committed
Update api docs config and readme
1 parent 5132304 commit 31b6d98

File tree

5 files changed

+14
-17
lines changed

5 files changed

+14
-17
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ while ($response && count($response->records) != 0) {
4949

5050
### To generate documentation
5151

52-
wget http://phpdoc.org/phpDocumentor.phar
53-
mkdir docs
54-
php phpDocumentor.phar
52+
php vendor/bin/sami.php update sami.config.php -v
5553

5654
```

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source: api_docs
2+

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"require-dev": {
1212
"phpunit/phpunit": "4.0.*",
1313
"satooshi/php-coveralls": "dev-master",
14-
"mockery/mockery": "dev-master"
14+
"mockery/mockery": "dev-master",
15+
"sami/sami": "1.4.*"
1516
},
1617
"license": "MIT",
1718
"authors": [

phpdoc.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

sami.config.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
return new Sami\Sami(__DIR__ . '/src', array(
4+
'title' => 'SRU client',
5+
'build_dir' => __DIR__ . '/api_docs',
6+
'cache_dir' => __DIR__ . '/cache',
7+
'default_opened_level' => 2,
8+
));
9+

0 commit comments

Comments
 (0)