Skip to content

Commit

Permalink
Adding phpDocumentor and ./scripts/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasmiller committed Apr 8, 2020
1 parent d31272a commit c89ab60
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ composer.lock
# PHPUnit
.phpunit.result.cache
/coverage/

# phpDocumenter
.phpdoc
/docs/
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
"doctrine/rst-parser": "dev-master",
"phpcompatibility/php-compatibility": "^9.3",
"phpdocumentor/phpdocumentor": "dev-master",
"phpdocumentor/graphviz": "dev-master",
"phpstan/phpstan": "^0.12.11",
"phpunit/phpunit": "^8",
"squizlabs/php_codesniffer": "^3.5"
Expand Down
5 changes: 5 additions & 0 deletions scripts/docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

rm -rf ./docs

./vendor/bin/phpdoc -d ./lib/recurly -t ./docs/ --title "Recurly v3 API"

0 comments on commit c89ab60

Please sign in to comment.