1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
#!/bin/sh
# the following changes are not for the base classes, so we temporatily
# move the relevant files to a separate directory
mkdir tmp_doxyfix
mv html/*Base*.html tmp_doxyfix/
perl -pi~ -e 's/Derived/VectorX/g' html/*VectorX*.html
perl -pi~ -e 's/VectorBase\<\/a\>\<\; T\, VectorX \>\;/VectorX\<\/a\>/g' html/*VectorX*.html
perl -pi~ -e 's/Derived/Vector/g' html/*Vector*.html
perl -pi~ -e 's/VectorBase\<\/a\>\<\; T\, Vector \>\;/Vector\<\/a\>/g' html/*Vector*.html
perl -pi~ -e 's/Derived/MatrixX/g' html/*MatrixX*.html
perl -pi~ -e 's/Derived/Matrix/g' html/*Matrix*.html
perl -pi~ -e 's/VectorType/VectorX\<\;T\>\;/g' html/*MatrixX*.html
perl -pi~ -e 's/VectorType/Vector\<\;T\,Size\>\;/g' html/*Matrix*.html
perl -pi~ -e 's/VectorType/VectorX\<\;T\>\;/g' html/*LinearSolverX*.html
perl -pi~ -e 's/VectorType/Vector\<\;T\,Size\>\;/g' html/*LinearSolver*.html
perl -pi~ -e 's/namespaceEigen/modules/' html/index.html
perl -pi~ -e 's/iso-8859-1/utf-8/' html/index.html
# move the files of the base classes back to html/
# and delete temporary directory
mv tmp_doxyfix/* html/
rmdir tmp_doxyfix
# remove the backup files generated by perl
rm html/*~
|