|
@@ -52,9 +52,6 @@ fi
|
|
|
|
|
|
|
|
|
if [[ $GROUP == docs ]]; then
|
|
|
- # Run the link check - allow for a link to fail once (--lf means only run last failed)
|
|
|
- py.test --check-links -k .md . || py.test --check-links -k .md --lf .
|
|
|
-
|
|
|
# Build the docs
|
|
|
jlpm build:packages
|
|
|
jlpm docs
|
|
@@ -77,8 +74,11 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
-if [[ $GROUP == changelog ]]; then
|
|
|
- # Run the link check - allow for a link to fail once (--lf means only run last failed)
|
|
|
+if [[ $GROUP == docs2 ]]; then
|
|
|
+ # Run the link check on raw md files - allow for a link to fail once (--lf means only run last failed)
|
|
|
+ py.test --check-links -k .md . || py.test --check-links -k .md --lf .
|
|
|
+
|
|
|
+ # Run the link check on the changelog - allow for a link to fail once (--lf means only run last failed)
|
|
|
changelog=./docs/source/getting_started/changelog.rst
|
|
|
py.test --check-links $changlog || py.test --check-links --lf $changelog
|
|
|
fi
|