Skip to content

Commit 9cbf65d

Browse files
authored
Merge pull request #4 from doctrine/1.0.2
Merge 1.0.2 into main
2 parents a99e83c + 375d921 commit 9cbf65d

File tree

6 files changed

+695
-18
lines changed

6 files changed

+695
-18
lines changed

.github/workflows/ci-shell-scripts.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ name: "Continuous Integration for shell scripts"
44

55
on:
66
pull_request:
7+
branches:
8+
- "main"
79
paths:
810
- ".github/workflows/ci-shell-scripts.yml"
911
- "bin/**"
1012
push:
1113
branches:
12-
- "*.*.x"
14+
- "main"
1315
paths:
1416
- ".github/workflows/ci-shell-scripts.yml"
1517
- "bin/**"

.github/workflows/composer-lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ name: "Composer Lint"
33
on:
44
pull_request:
55
branches:
6-
- "*.x"
6+
- "main"
77
paths:
88
- ".github/workflows/composer-lint.yml"
99
- "composer.json"
1010
push:
1111
branches:
12-
- "*.x"
12+
- "main"
1313
paths:
1414
- ".github/workflows/composer-lint.yml"
1515
- "composer.json"
1616

1717
jobs:
1818
composer-lint:
1919
name: "Composer Lint"
20-
uses: "doctrine/.github/.github/workflows/composer-lint.yml@9cfa15f09ecce61912ae40b5befa8e920c4a98a4"
20+
uses: "doctrine/.github/.github/workflows/composer-lint.yml@8.0.0"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ the generating command. It assumes the input directory is in `docs/en` at the ro
66
## Usage:
77

88
```shell
9-
composer require --dev paulinevos/doctrine-docs-builder
9+
composer require --dev doctrine/docs-builder
1010
./vendor/bin/build-docs.sh [<output>]
1111
```
1212

bin/build-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ defaultOutputDir="$rootDir/output"
2626
outputDir="${outputArg:-${defaultOutputDir:-default}}"
2727

2828
baseDir=$(dirname "$(dirname "$0")")
29-
output=$(composer install -d "$baseDir" 2>&1) || printf "$output"
29+
output=$(composer install -d "$baseDir" 2>&1) || print "$output"
3030

3131
"$baseDir/vendor/bin/guides" -vvv --no-progress --fail-on-log "$rootDir/$inputDir" --output="$outputDir"

composer.json

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
11
{
22
"name": "doctrine/docs-builder",
3-
"description": "Helper package for easily building the docs in Doctrine repos",
3+
"description": "Helper package for building the docs in Doctrine repos",
4+
"license": "MIT",
45
"type": "library",
6+
"authors": [
7+
{
8+
"name": "Pauline Vos",
9+
"email": "[email protected]"
10+
}
11+
],
512
"require": {
6-
"phpdocumentor/guides-cli": "1.7.1",
7-
"phpdocumentor/filesystem": "1.7.1"
13+
"phpdocumentor/filesystem": "1.7.1",
14+
"phpdocumentor/guides-cli": "1.7.1"
15+
},
16+
"require-dev": {
17+
"ergebnis/composer-normalize": "^2.48"
818
},
9-
"version": "1.0.1",
10-
"license": "MIT",
1119
"bin": [
1220
"bin/build-docs.sh"
1321
],
14-
"authors": [
15-
{
16-
"name": "Pauline Vos",
17-
"email": "[email protected]"
22+
"config": {
23+
"allow-plugins": {
24+
"ergebnis/composer-normalize": true
1825
}
19-
]
26+
}
2027
}

0 commit comments

Comments
 (0)