Skip to content

Commit

Permalink
[DEBUG]
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsiqueira committed Jul 4, 2024
1 parent 1974b19 commit 46c77af
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
11 changes: 11 additions & 0 deletions .github/scripts/verify-docs-build-files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

while IFS= read -r -d '' f; do
f=${f/src/build}
# Converts path/file.md to path/file/index.html (index.md just changes to index.html)
case $f in
*index.md) f=${f/%.md/.html} ;;
*) f=${f/%.md//index.html} ;;
esac
[[ -e "$f" ]] || { echo "$f" missing; }
done < <(find tmp/Guldasta.jl/docs/ -type f -name '*.md' -print0) | grep -v missing
13 changes: 1 addition & 12 deletions .github/workflows/TestGeneratedPkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,4 @@ jobs:
julia --project=tmp/Guldasta.jl/docs --eval 'using Pkg; pkg"dev tmp/Guldasta.jl"' \
-L tmp/Guldasta.jl/docs/make.jl
- name: Check docs generation
run: |
find tmp/Guldasta.jl/docs
while IFS= read -r -d '' f; do
f=${f/src/build};
# Converts path/file.md to path/file/index.html (index.md just changes to index.html)
case $f in
*index.md) f=${f/%.md/.html};;
*) f=${f/%.md//index.html};;
esac
[[ -e $f ]] || { echo $f missing; }
done < <(find tmp/Guldasta.jl/docs/ -type f -name '*.md' -print0 ) | grep missing
[[ $? -ne 0 ]]
run: bash -e .github/scripts/verify-docs-build-files.sh

0 comments on commit 46c77af

Please sign in to comment.