From 652df8de76e2384fdc115bbd13ead460298a3801 Mon Sep 17 00:00:00 2001 From: Olivier Couet <olivier.couet@cern.ch> Date: Wed, 9 Aug 2017 11:22:46 +0200 Subject: [PATCH] Replace <iframe> by <img> to display the libraries graph. There was two problems with <iframe>: - In some cases an extra frame was drawn - Some browsers (chrome and Opera) , in some cases, did not display correctly the image (wrong size) --- documentation/doxygen/makelibs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/doxygen/makelibs.sh b/documentation/doxygen/makelibs.sh index d31bb740195..a97df5ec6be 100755 --- a/documentation/doxygen/makelibs.sh +++ b/documentation/doxygen/makelibs.sh @@ -30,5 +30,5 @@ dot -Tsvg libraries.dot -o $PICNAME # Make sure the picture size in the html file the same as the svg PICSIZE=`grep "svg width" $PICNAME | sed -e "s/<svg //"` -sed -i'.back' -e "s/\(^.*__coll__graph.svg\"\)\( width.*\">\)\(.*$\)/\1 $PICSIZE>\3/" $HTMLPATH/class$1.html -rm $HTMLPATH/class$1.html.back \ No newline at end of file +sed -i'.back' -e "s/\(^.*src\)\(.*__coll__graph.svg\"\)\( width.*\">\)\(.*$\)/<div class=\"center\"><img src\2 $PICSIZE><\/div>/" $HTMLPATH/class$1.html +rm $HTMLPATH/class$1.html.back -- GitLab