TASK: Add checks for documentation
* Check for syntax issues. * Check for link integrity.
This commit is contained in:
parent
8bbc92ba94
commit
a0e83ebef0
1 changed files with 26 additions and 0 deletions
|
@ -66,6 +66,32 @@ test:latest:
|
|||
script:
|
||||
- ./vendor/bin/phpunit
|
||||
|
||||
test:documentation:syntax:
|
||||
image: 'danielsiepmann/sphinx:latest'
|
||||
stage: test
|
||||
before_script:
|
||||
- cd Documentation
|
||||
script:
|
||||
- make dummy
|
||||
artifacts:
|
||||
when: on_failure
|
||||
artifacts:
|
||||
paths:
|
||||
- Documentation/build/dummy
|
||||
|
||||
test:documentation:external-links:
|
||||
image: 'danielsiepmann/sphinx:latest'
|
||||
stage: test
|
||||
before_script:
|
||||
- cd Documentation
|
||||
script:
|
||||
- make linkcheck
|
||||
artifacts:
|
||||
when: on_failure
|
||||
artifacts:
|
||||
paths:
|
||||
- Documentation/build/linkcheck/output.txt
|
||||
|
||||
render:documentation:
|
||||
image: 'danielsiepmann/sphinx:latest'
|
||||
stage: render
|
||||
|
|
Loading…
Reference in a new issue