Changeset 186 for trunk/SRC/Documentation/xmldoc/savesaxo.sh
- Timestamp:
- 09/20/06 12:50:37 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/savesaxo.sh
r183 r186 1 1 #!/bin/bash 2 # 2 # 3 3 # update : 4 4 # $Id$ … … 33 33 # ajout de white-space: pre; dans la css pour file_comments 34 34 # fplod 2006-07-04T13:09:19Z aedon.locean-ipsl.upmc.fr (Darwin) 35 # for idldoc html output 35 # for idldoc html output 36 36 # because preformat option doesn't seem to work well 37 # replace 37 # replace 38 38 # div class="value" 39 39 # by 40 40 # div class="preformat" 41 41 # fplod 2006-06-19T08:46:39Z aedon.locean-ipsl.upmc.fr (Darwin) 42 # for idldoc html output 42 # for idldoc html output 43 43 #. replace 44 44 # -e 's/\(href=".*\)\(\.html\)\("\)/\1\2?format=raw\3/g' \ 45 45 # -e 's/\(href=".*\)\(\.html\)\(#.*"\)/\1\2?format=raw\3/g' \ 46 46 # -e 's/\(src=".*\)\(\.html\)\("\)/\1\2?format=raw\3/g' \ 47 # by 47 # by 48 48 # -e 's@\(href="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\("\)@\1\2?format=raw\3@g' \ 49 49 # -e 's@\(href="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\(#.*"\)@\1\2?format=raw\3@g' \ 50 50 #-e 's@\(src="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\("\)@\1\2?format=raw\3@g' 51 51 # in order to be able to add ?format=raw several time on one line 52 # . suppress .html in line like 52 # . suppress .html in line like 53 53 # a parameter from the routine ./ReadWrite/idl-NetCDF/ncdf_read.html 54 54 # in files idldoc-index*.html … … 56 56 # add embed parameter idldoc instructions to try to fix ticket#17 57 57 # fplod 2006-06-07T12:11:50Z aedon.locean-ipsl.upmc.fr (Darwin) 58 # add g option in ?format=raw sed transformation in order to fix 58 # add g option in ?format=raw sed transformation in order to fix 59 59 # link on top of idldoc like directory-overview.html 60 60 # fplod 2006-06-07T10:57:35Z aedon.locean-ipsl.upmc.fr (Darwin) … … 105 105 doSRCidris=0 106 106 doDTAidris=0 107 fi 107 fi 108 108 # 109 109 # get the date in a nice format … … 118 118 then 119 119 cat <<EOF > /tmp/compileall${$}.pro 120 .reset_session 120 .reset_session 121 121 ; 122 122 !path = expand_path('+' + '../..') + ':' + expand_path('+' + !dir) … … 131 131 IF !journal NE 0 THEN journal 132 132 journal, myuniquetmpdir + 'cm_demomode_used.pro' 133 journal 133 journal 134 134 ; 135 135 resolve_all, resolve_either='keep_compatibility', skip_routines = ['xxx2ps','trends', 'label_gmt'] … … 154 154 grep -i "error" /tmp/compileallerr_${$} 155 155 # grep -q "Compilation error(s)" /tmp/compileallerr_${$} 156 if [ ${?} -ne 0 ] 156 if [ ${?} -ne 0 ] 157 157 then 158 158 echo "ALL SAXO files are OK..." … … 174 174 # 175 175 cd ${memopwd} 176 for docxml in firststeps.xml getsaxo.xml mailing.xml websaxo.xml tiplink.xml updatesaxo.xml whatissaxo.xml whatsnew.xml infoupdatekwd.xml infoupdatecm.xml mini_notice.xml faqsaxo.xml 176 for docxml in firststeps.xml getsaxo.xml mailing.xml websaxo.xml tiplink.xml updatesaxo.xml whatissaxo.xml whatsnew.xml infoupdatekwd.xml infoupdatecm.xml mini_notice.xml faqsaxo.xml 177 177 do 178 178 ./makehtml.sh $(basename ${docxml} .xml) … … 242 242 # <div id="tagline">Produced by IDLdoc 2.0</div> 243 243 # <h2>Produced on Wed Jun 7 10:23:13 2006</h2> 244 # will be delete 245 # other lines will be deleted because the time is the time of checkout not 244 # will be delete 245 # other lines will be deleted because the time is the time of checkout not 246 246 # the time of revision. 247 247 # the sequence of lines … … 345 345 # <div id="tagline">Produced by IDLdoc 2.0</div> 346 346 # <h2>Produced on Wed Jun 7 10:23:13 2006</h2> 347 # will be delete 348 # other lines will be deleted because the time is the time of checkout not 347 # will be delete 348 # other lines will be deleted because the time is the time of checkout not 349 349 # the time of revision. 350 350 # the sequence of lines … … 382 382 do 383 383 fout=../idldoc_assistant_output/${file_html#../idldoc_html_output/*} 384 fout=${fout%/*}/directory-overview.html 384 fout=${fout%/*}/directory-overview.html 385 385 sed -e 's/?format=raw//g' ${file_html} > ${fout} 386 386 done
Note: See TracChangeset
for help on using the changeset viewer.