Skip to content

Commit 26b1905

Browse files
committed
[TASK] Automate documentation and code linting
1 parent 501c7b9 commit 26b1905

File tree

13 files changed

+872
-32
lines changed

13 files changed

+872
-32
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.gitattributes export-ignore
2+
.travis.yml export-ignore
3+
Tests/ export-ignore
4+
Build/ export-ignore
5+
.ddev/ export-ignore
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: test documentation
2+
3+
on: [ push, pull_request ]
4+
5+
jobs:
6+
tests:
7+
name: documentation
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
13+
- name: Test if the documentation will render without warnings
14+
run: |
15+
mkdir -p Documentation-GENERATED-temp \
16+
&& docker run --rm --pull always -v $(pwd):/project \
17+
ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --fail-on-log

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/Documentation-GENERATED-temp/
2+
/.Build/
3+
/.cache/
4+
composer.json.testing
5+
composer.lock
6+
/public/

0 commit comments

Comments
 (0)