Changeset 420 for trunk/SRC/Documentation/xmldoc
- Timestamp:
- 01/25/10 12:47:34 (14 years ago)
- Location:
- trunk/SRC/Documentation/xmldoc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/docompileall.sh
r415 r420 55 55 # 56 56 # 57 # For POST_IT in working space /usr/ home/fplod/incas/post_it/post_it_ws/57 # For POST_IT in working space /usr/lodyc/incas/fplod/post_it_ws/ 58 58 # with IDL 6.4 59 59 # 60 60 # :: 61 61 # 62 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/docompileall.sh -i /usr/ home/fplod/incas/post_it/post_it_ws/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/63 # 64 # For POST_IT in working space /usr/ home/fplod/incas/post_it/post_it_ws/62 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/docompileall.sh -i /usr/lodyc/incas/fplod/post_it_ws/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ 63 # 64 # For POST_IT in working space /usr/lodyc/incas/fplod/post_it_ws/ 65 65 # with IDL 7.0 66 66 # 67 67 # :: 68 68 # 69 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/docompileall.sh -i /usr/ home/fplod/incas/post_it/post_it_ws/ -idl_dir /usr/local_linux/idl/idl70/69 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/docompileall.sh -i /usr/lodyc/incas/fplod/post_it_ws/ -idl_dir /usr/local_linux/idl/idl70/ 70 70 # 71 71 # TODO -
trunk/SRC/Documentation/xmldoc/doidldoc.sh
r415 r420 10 10 # ======== 11 11 # 12 # ``doidldoc.sh -i indir -t title -o outdir -idl_dir idl_dir -idldoc_version idldoc_version -idldoc_dir idldoc_dir ``12 # ``doidldoc.sh -i indir -t title -o outdir -idl_dir idl_dir -idldoc_version idldoc_version -idldoc_dir idldoc_dir -e element -r refhtlm`` 13 13 # 14 14 # DESCRIPTION … … 23 23 # -idldoc_version idldoc_version 24 24 # -idldoc_dir idldoc_dir 25 # 26 # Two pass : first *classic* idldoc then some home made transformation to avoid 27 # for example version of idldoc on each HTML files. 25 # -e element 26 # -r refhtml 27 # 28 # Two passes : first *classic* idldoc then some home made transformation 29 # to avoid for example version of idldoc on each HTML files. 28 30 # 29 31 # The first pass produce files in /tmp/idldoc_output_${$}/ directory. 30 32 # 31 33 # At the end the result is in ``outdir``. 32 #33 34 # 34 35 # By default, embedded ``idldoc`` 2.0 in SAXO is used. … … 39 40 # Be warned that assitant help is only available with ``idldoc 2.0``. 40 41 # 42 # Must be run two times to resolve internal links. 43 # 41 44 # CAUTIONS 42 45 # ======== … … 51 54 # directory and set SAXO_DIR to the working space. 52 55 # 53 # example for me : SAXO_DIR= ${HOME}/SAXO_DIR_ws/56 # example for me : SAXO_DIR=/usr/lodyc/incas/fplod/SAXO_DIR_ws/ 54 57 # 55 58 # EXAMPLES … … 61 64 # :: 62 65 # 63 # $ cd SAXO_DIR_ws/SRC/Documentation/xmldoc/ 64 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i ../.. -t "SAXO Documentation" -o ./idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ 66 # $ cd ${SAXO_DIR}/SRC/Documentation/xmldoc/ 67 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i ../.. -t "SAXO Documentation" -o ../idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ -e pro -r ../idldoc_html_output/ -e proidl -r /usr/local_linux/idl/idl_6.4/idl/help/online_help 68 # 65 69 # 66 70 # To produce GEOMAG HTML outputs : … … 68 72 # 69 73 # $ cd /usr/home/fplod/incas/geomag/geomag_ws/ 70 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i . -t "GEOMAG Documentation" -o /usr/work/incas/${LOGNAME}/geomag/idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ 74 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i . -t "GEOMAG Documentation" -o /usr/work/incas/${LOGNAME}/geomag/idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ -e pro -r ../idldoc_html_output/ -e proidl -r /usr/local_linux/idl/idl_6.4/idl/help/online_help -e progeomag -r /usr/work/incas/${LOGNAME}/idldoc_html_output/ 75 71 76 # 72 77 # To produce VARAMMA HTML outputs : … … 74 79 # 75 80 # $ cd /usr/home/fplod/incas/varamma/varamma_ws/ 76 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i . -t "VARAMMA Documentation" -o /tmp/idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ 81 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i . -t "VARAMMA Documentation" -o /tmp/idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ -e pro -r ../idldoc_html_output/ -e proidl -r /usr/local_linux/idl/idl_6.4/idl/help/online_help 77 82 # 78 83 # To produce POST_IT HTML outputs : 79 84 # :: 80 85 # 81 # $ cd /usr/home/fplod/incas/post_it/post_it_ws/ 82 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i . -t "POST_IT/Documentation" -o /usr/work/incas/${LOGNAME}/idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ 83 # 84 86 # $ cd /usr/lodyc/incas/fplod/post_it_ws/ 87 # $ ${SAXO_DIR}/SRC/Documentation/xmldoc/doidldoc.sh -i . -t "POST_IT/Documentation" -o /usr/work/incas/${LOGNAME}/idldoc_html_output/ -idl_dir /usr/local_linux/idl/idl_6.4/idl/ -e pro -r ${SAXO_DIR}/SRC/Documentation/idldoc_html_output/ -e proidl -r /usr/local_linux/idl/idl_6.4/idl/help/online_help -e propost_it -r /usr/work/incas/${LOGNAME}/idldoc_html_output/ 88 # 85 89 # TODO 86 90 # ==== … … 91 95 # doc idl 92 96 # 97 # add checking of consistency between numbers of -e and -r parameters 98 # 93 99 # SEE ALSO 94 100 # ======== … … 96 102 # idldoc++ lien 97 103 # 104 # pro2href.sh 105 # 98 106 # EVOLUTIONS 99 107 # ========== 100 108 # 101 109 # $Id$ 110 # 111 # - fplod 20100125T105849Z aedon.locean-ipsl.upmc.fr (Darwin) 112 # 113 # * add -e and -r parameters to replace hardcoded element and reference 114 # of links 102 115 # 103 116 # - fplod 20091112T101526Z zeus.locean-ipsl.upmc.fr (Linux) … … 206 219 #idldoc_dir="/usr/home/fplod/src/idldoc-3.1.1/" # overriding idldoc_dir for test ++ 207 220 # 221 ielement=1 222 # 208 223 minargcount=6 209 224 if [ ${#} -lt ${minargcount} ] … … 245 260 idl_dir=${2} 246 261 shift 262 ;; 263 -e) 264 element[${ielement}]=${2} 265 shift 266 ;; 267 -r) 268 refhtml[${ielement}]=${2} 269 shift 270 ielement=$(( ${ielement} + 1)) 247 271 ;; 248 272 -h) … … 376 400 sed \ 377 401 -e "s/\(Generated by IDLdoc\)\( .* on .*\)\( -->\)/\1\3/" \ 378 -e "s/\(Produced by IDLdoc\)\( .* on .*\)\(<\/ td>\)/\1\3/" \402 -e "s/\(Produced by IDLdoc\)\( .* on .*\)\(<\/div>\)/\1\3/" \ 379 403 -e "/<h2>Produced on/d" \ 380 404 -e "/Modifcation:/d" \ … … 398 422 mv ${file_html}_modify ${file_html} 399 423 done 400 # replace <pro>ginette</pro> by a sequence like 401 # <a href="./ginette.html">ginette</a> 402 ${SAXO_DIR}/SRC/Documentation/xmldoc/pro2href.sh -i ${outputtmp} -r ${outputtmp} -e pro 403 status=${?} 404 if [ ${status} -ne 0 ] 405 then 406 echo "eee : pb during pro2href.sh for <pro>...</pro>" 407 exit 1 408 fi 409 # replace <proidl>ginette</proidl> by a sequence like 410 # <a href="./ginette.html">ginette</a> 411 ${SAXO_DIR}/SRC/Documentation/xmldoc/pro2href.sh -i ${outputtmp} -r ${idl_dir}/help/online_help -e proidl 412 status=${?} 413 if [ ${status} -ne 0 ] 414 then 415 echo "eee : pb during pro2href.sh for <proidl>...</proidl>" 416 exit 1 417 fi 424 nelement=${#element[@]} 425 ielement=1 426 while [ ${ielement} -le ${nelement} ] 427 do 428 # replace <element>ginette</element> by a sequence like 429 # <a href="./ginette.html">ginette</a> 430 ${SAXO_DIR}/SRC/Documentation/xmldoc/pro2href.sh -i ${outputtmp} \ 431 -r ${refhtml[${ielement}]} \ 432 -e ${element[${ielement}]} 433 status=${?} 434 if [ ${status} -ne 0 ] 435 then 436 echo "eee : pb during pro2href.sh for ${element}...</${element}>" 437 exit 1 438 fi 439 ielement=$(( ${ielement} + 1)) 440 done 418 441 fi # end of transform = 1 419 442 # -
trunk/SRC/Documentation/xmldoc/pro2href.sh
r415 r420 106 106 for file_html in ${list_html_element} 107 107 do 108 #echo "file_html ${file_html}"109 #read a108 #echo "file_html ${file_html}" 109 #read a 110 110 fpath=$(dirname ${file_html} | sed -e "s+\(${dirhtml}/\)\(.*\)+\2+") 111 111 #echo "fpath ${fpath}" -
trunk/SRC/Documentation/xmldoc/savesaxo.sh
r415 r420 11 11 # 12 12 # $Id$ 13 # 14 # 15 # - fplod 20100125T112917Z aedon.locean-ipsl.upmc.fr (Darwin) 16 # 17 # * complete doidldoc.sh calling sequence 13 18 # 14 19 # - fplod 20091112T101551Z zeus.locean-ipsl.upmc.fr (Linux) … … 280 285 -o ../idldoc_html_output/ 281 286 -idl_dir ${idl_dir} 287 -e pro -r ../idldoc_html_output/ \ 288 -e proidl -r /usr/local_linux/idl/idl_6.4/idl/help/online_help 282 289 doidldoc_html=${?} 283 290 if [ ${doidldoc_html} -ne 0 ]
Note: See TracChangeset
for help on using the changeset viewer.