mirror of
https://github.com/AntumMT/mod-wdata.git
synced 2024-11-19 22:13:45 +01:00
LDoc: show version info in older versions
This commit is contained in:
parent
b12b3eafe6
commit
fa4c2844cb
@ -67,7 +67,9 @@ for vinfo in $(git tag -l --sort=-v:refname | grep "^v[0-9]"); do
|
||||
|
||||
# show version info
|
||||
for html in $(find "${d_temp}" -type f -name "*.html"); do
|
||||
sed -i -e "s|^<h1>World Data Manager</h1>$|<h1>World Data Manager <span style=\"font-size:12pt;\">(${vinfo})</span></h1>|" "${html}"
|
||||
for repl in "World Data Manager" "wdata"; do
|
||||
sed -i -e "s,^<h1>${repl}</h1>$,<h1>World Data Manager <span style=\"font-size:12pt;\">(${vinfo})</span></h1>," "${html}"
|
||||
done
|
||||
done
|
||||
|
||||
# copy screenshot
|
||||
|
Loading…
Reference in New Issue
Block a user