Add apigen/apigen to the dev requirements

This commit is contained in:
Ben Ramsey
2015-09-26 19:06:39 -05:00
parent 5bf7f5064c
commit 36ebfcfc93
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -39,11 +39,11 @@ Much inspiration for this library came from the [Java][javauuid] and
The [latest class API documentation][apidocs] is available online. This project
uses [ApiGen](http://apigen.org/) to generate this documentation. To
generate the documentation on your own, install ApiGen and run the following command
from the root of the project:
generate the documentation on your own, install dev dependencies and run the
following command from the root of the project:
```
apigen generate --source="src" --destination="build/apidocs" --title="ramsey/uuid" --template-theme="bootstrap" --deprecated --todo
./vendor/bin/apigen generate --source="src" --destination="build/apidocs" --title="ramsey/uuid" --template-theme="bootstrap" --deprecated --todo
```
This will generate documentation in the `build/apidocs/` folder.
+2 -1
View File
@@ -33,7 +33,8 @@
"phpunit/phpunit": "^4.7",
"squizlabs/php_codesniffer": "^2.3",
"jakub-onderka/php-parallel-lint": "^0.9.0",
"satooshi/php-coveralls": "^0.6.1"
"satooshi/php-coveralls": "^0.6.1",
"apigen/apigen": "^4.1"
},
"suggest": {
"ramsey/uuid-doctrine": "Allow the use of a UUID as Doctrine field type.",