Skip to content
Snippets Groups Projects
Commit a21eb4c2 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Added version number to manual "Home" button

Fixes #70
parent 1906bd8f
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,19 @@ LIST=" ...@@ -27,6 +27,19 @@ LIST="
# echo "LAYOUT_FILE=PlumedLayout.xml" # echo "LAYOUT_FILE=PlumedLayout.xml"
} | doxygen - } | doxygen -
for file in html/*.html
do
awk -v version=$(plumed info --version) '{
if(match($0,"<span>Main&#160;Page</span>")){
sub("Main","Home",$0);
sub("Page","(v"version")",$0);
print
} else if(match($0,"<span>Related&#160;Pages</span>")){
} else print
}' $file > $file.tmp
mv $file.tmp $file
done
cd latex cd latex
# this is a workaround for a problem on the linux workstation # this is a workaround for a problem on the linux workstation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment