Merge pull request #6394 from FedericoCeratto/code-block-check

Add check for broken code-block in docs
This commit is contained in:
Dominik Picheta 2017-12-22 18:47:33 +00:00 • committed by GitHub
commit 7937e38423
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,3 +48,5 @@ script:
- ./koch csource - ./koch csource
- ./koch nimsuggest - ./koch nimsuggest
# - nim c -r nimsuggest/tester # - nim c -r nimsuggest/tester
- ( ! grep -F '.. code-block' -l -r --include '*.html' --exclude contributing.html --exclude docgen.html --exclude tut2.html )
- ( ! grep -F '..code-block' -l -r --include '*.html' --exclude contributing.html --exclude docgen.html --exclude tut2.html )