ECC-200: make code examples links to confluence

This commit is contained in:
Shahram Najm 2016-08-25 16:06:27 +01:00
parent 50a811a24b
commit 5d9b87ec44
1 changed files with 21 additions and 0 deletions

View File

@ -23,3 +23,24 @@ doxygen grib_api_wiz.cfg
# Remove temp files
rm -f eccodes.h
rm -f ecCodes.py
# Hack. Change the links from any example code to confluence
F90_file=../html/classeccodes.html
Py_file=../html/namespaceec_codes.html
fnames="
bufr_get_keys
grib_index
grib_get_keys
grib_clone
count_messages
samples
set_missing
"
# Add later copy_message -> grib_copy_message
for fn in $fnames; do
perl -p -i -e "s|$fn\.f90|<a href=\"https://software.ecmwf.int/wiki/display/ECC/$fn\" target=\"_blank\">$fn.f90</a>|" $F90_file
done
echo DONE