Skip to content

Commit

Permalink
footer url
Browse files Browse the repository at this point in the history
  • Loading branch information
jurakovic committed Jul 21, 2024
1 parent 98f2204 commit 766aedc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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: <a href="https://github.com/jurakovic/runtime" target="_blank" rel="noopener">jurakovic/runtime</a>'
#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 .
Expand Down

0 comments on commit 766aedc

Please sign in to comment.