Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
Robpol86 committed Jun 23, 2024
1 parent 04e592d commit c7c76f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ linkcheck: _HELP = Check for broken links in documents
linkcheck: docs/_build/html/index.html
poetry run sphinx-build -T -n -W --keep-going -b linkcheck docs $(<D) && ret=0 || ret=$$? && \
{ jq -s . $(<D)/output.json > $(<D)/output2.json && mv $(<D)/output2.json $(<D)/output.json; \
jq -r '.[] |select(.status == "broken") |.uri' $(<D)/output.json > $(<D)/broken.txt; \
echo; sort $(<D)/output.txt; exit $$ret; }
jq -r '.[] |select(.status == "broken") |.uri' $(<D)/output.json > $(<D)/broken.txt; echo; echo; \
echo "======================= output.txt ======================="; sort $(<D)/output.txt; \
echo "=========================================================="; exit $$ret; }

## Misc

Expand Down

0 comments on commit c7c76f7

Please sign in to comment.