commit f0b75af872f2db06dc44c6ade6df7fca161265a7 parent 754097b897329fc27dd73b8ffba9426861064b0c Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Sat, 8 Jun 2024 19:00:02 +0200 fix: add summary menu even in multiple level subdirectories Diffstat:
M | bin/git_update_repo_html.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/git_update_repo_html.sh b/bin/git_update_repo_html.sh @@ -82,7 +82,7 @@ INJEXP="s/(>Files<\/a>\ \|)/\1 <a href=\"\/${2}\/${3}\/exports\/\">Exports<\/a> find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; # Add Summary to menu (before Log) -INJEXP="s/^(<a\ href=\"\.{0,2}\/*log.html\">)/<a\ href=\"\/${2}\/${3}\/index.html\">Summary<\/a>\ \| \1/" +INJEXP="s/^(<a\ href=\"(\.{0,2}\/)*log.html\">)/<a\ href=\"\/${2}\/${3}\/index.html\">Summary<\/a>\ \| \1/" find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; # Replace "git clone" href