TASK: Add checks for documentation

* Check for syntax issues.
* Check for link integrity.
This commit is contained in:
Daniel Siepmann 2017-04-13 09:16:46 +02:00
parent 8bbc92ba94
commit a0e83ebef0
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -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