Setup documentation workflow (#72)

This commit is contained in:
Grégoire Paris
2024-10-07 17:53:29 +02:00
committed by GitHub
parent 7cb7e8b4c8
commit f35527393d
4 changed files with 26 additions and 0 deletions

20
.github/workflows/documentation.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: "Documentation"
on:
pull_request:
branches:
- "*.x"
paths:
- ".github/workflows/documentation.yml"
- "docs/**"
push:
branches:
- "*.x"
paths:
- ".github/workflows/documentation.yml"
- "docs/**"
jobs:
documentation:
name: "Documentation"
uses: "doctrine/.github/.github/workflows/documentation.yml@5.1.0"

3
.gitignore vendored
View File

@@ -4,3 +4,6 @@
/phpcs.xml
/.phpcs-cache
/.phpunit.cache
# phpDocumentor/guides output directory
/output

View File

@@ -42,6 +42,7 @@
},
"require-dev": {
"doctrine/coding-standard": "^12",
"phpdocumentor/guides-cli": "^1.4",
"phpstan/phpstan": "^1.8.8",
"phpunit/phpunit": "^10.5",
"vimeo/psalm": "^5.24"

View File

@@ -1,3 +1,5 @@
:orphan:
.. toctree::
:depth: 3