Skip to content

Commit

Permalink
fix docs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
wernerkrauss committed Oct 22, 2024
1 parent dc9095a commit c19636f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.2
coverage: none
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -26,10 +26,10 @@ jobs:
- uses: "ramsey/composer-install@v3"

- name: Install rule doc generator
run: composer require symplify/rule-doc-generator --with-all-dependencies
run: composer require symplify/rule-doc-generator:^12.1 --with-all-dependencies

- name: Generate documentation
run: composer docs
run: "composer docs:generate"

- name: Uninstall rule doc generator
run: composer remove symplify/rule-doc-generator
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
]
},
"scripts": {
"docs": "@php vendor/bin/rule-doc-generator generate src --output-file docs/all_rectors_overview.md --ansi"
"docs:generate": "@php rule-doc-generator generate rules --output-file docs/all_rectors_overview.md --ansi --categorize 2"
},
"minimum-stability": "dev",
"prefer-stable": true
Expand Down

0 comments on commit c19636f

Please sign in to comment.