mirror of https://github.com/ecmwf/eccodes.git
ECC-200: make code examples links to confluence
This commit is contained in:
parent
50a811a24b
commit
5d9b87ec44
|
@ -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
|
Loading…
Reference in New Issue