Skip to content

Commit a1f331a

Browse files
committed
chore: Split docs generation to it's own command
1 parent b142130 commit a1f331a

File tree

6 files changed

+7067
-7
lines changed

6 files changed

+7067
-7
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
# Using tag 2.10.0
1414
- uses: shivammathur/setup-php@e9a7adef28d778846228a0d481e041db73bd6db2
1515
with:
16-
php-version: '7.4'
16+
php-version: '8.0'
1717
coverage: xdebug2
1818

1919
- name: Build Library and Docs
20-
run: ./scripts/build
20+
run: ./scripts/docs
2121

2222
- name: Deploy
2323
if: success()

composer-docs.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "recurly/recurly-client",
3+
"version": "4.68.0",
4+
"type": "library",
5+
"description": "The PHP client library for the Recurly API",
6+
"keywords": ["recurly", "payments", "pay"],
7+
"homepage": "https://github.com/recurly/recurly-client-php",
8+
"license": "MIT",
9+
"authors": [],
10+
"require": {
11+
"php": ">= 8.0",
12+
"psr/log": "^1.1 || ^2.0 || ^3.0"
13+
},
14+
"require-dev": {
15+
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
16+
"phpcompatibility/php-compatibility": "^9.3",
17+
"phpdocumentor/phpdocumentor": "^3.5",
18+
"phpstan/phpstan": "^0.12.11",
19+
"phpunit/phpunit": "^8",
20+
"squizlabs/php_codesniffer": "^3.5"
21+
},
22+
"autoload": {
23+
"classmap": ["lib"],
24+
"files": ["lib/recurly.php"]
25+
},
26+
"autoload-dev": {
27+
"classmap": ["tests"]
28+
},
29+
"config": {
30+
"preferred-install": "dist",
31+
"sort-packages": true,
32+
"optimize-autoloader": true,
33+
"allow-plugins": {
34+
"symfony/flex": true,
35+
"dealerdirect/phpcodesniffer-composer-installer": true
36+
}
37+
}
38+
}

0 commit comments

Comments
 (0)