diff --git a/build.sh b/build.sh index f85fc5c26c7958..549d11586a0782 100644 --- a/build.sh +++ b/build.sh @@ -51,6 +51,15 @@ find docs -type f -iwholename "*.html" -exec sed -i -r 's/(href="https:\/\/githu # fix chapters url sed -i -r 's/(href=")(..\/botr)(">All Book of the Runtime \(BOTR\) chapters on GitHub)/\1https:\/\/github.com\/dotnet\/runtime\/blob\/main\/docs\/design\/coreclr\/botr\3/' docs/index.html +# add footer url +#text='Build repository: jurakovic/runtime' +#mapfile -t apps < <(find docs -type f -iwholename "*.html") +#for file in "${apps[@]}"; do +# total_lines=$(wc -l < "$file") +# insert_line=$((total_lines - 44)) +# if [ "$insert_line" -gt 0 ]; then sed -i "${insert_line}i$text" "$file"; fi +#done + #echo "$curr" > commit.txt #git add .