Ignore:
Timestamp:
06/19/06 11:48:58 (18 years ago)
Author:
pinsard
Message:

modification of savesaxo.sh to add ?format=raw as often needed in one line, and suppress .html in idldoc-index*.html (known bug of idldoc)

Location:
trunk/SRC/Documentation/xmldoc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/xmldoc/savesaxo.sh

    r109 r111  
    11#!/bin/bash 
     2#  
     3# fplod 2006-06-19T08:46:39Z aedon.locean-ipsl.upmc.fr (Darwin) 
     4# for idldoc html output  
     5#. replace 
     6#     -e 's/\(href=".*\)\(\.html\)\("\)/\1\2?format=raw\3/g' \ 
     7#     -e 's/\(href=".*\)\(\.html\)\(#.*"\)/\1\2?format=raw\3/g' \ 
     8#     -e 's/\(src=".*\)\(\.htmal\)\("\)/\1\2?format=raw\3/g' \ 
     9# by  
     10# -e 's@\(href="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\("\)@\1\2?format=raw\3@g' \ 
     11# -e 's@\(href="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\(#.*"\)@\1\2?format=raw\3@g' \ 
     12#-e 's@\(src="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\("\)@\1\2?format=raw\3@g' 
     13# in order to be able to add ?format=raw several time on one line 
     14# . suppress .html in line like  
     15# a parameter from the routine ./ReadWrite/idl-NetCDF/ncdf_read.html 
     16# in files idldoc-index*.html 
    217# fplod 2006-06-14T12:41:37Z aedon.locean-ipsl.upmc.fr (Darwin) 
    3 # add embed parmater idldoc instructions to try to fix ticket#17 
     18# add embed paramater idldoc instructions to try to fix ticket#17 
    419# fplod 2006-06-07T12:11:50Z aedon.locean-ipsl.upmc.fr (Darwin) 
    520# add g option in ?format=raw sed transformation in order to fix  
     
    1732set -u 
    1833# 
    19 docompileall=0 
     34docompileall=1 
    2035dohtml=0 
    2136dooldtest=0 
     
    2338doidldoc_html=0 
    2439doidldoc_assistant=0 
    25 doTARsrc=1 
     40doTARsrc=0 
    2641doTARdata=0 
    27 doforge=1 
     42doforge=0 
    2843doSRClodyc=0 
    2944doDTAlodyc=0 
     
    140155# 
    141156    # build a idl file to launch idldoc 
    142     cat <<EOF > /tmp/idldoc_html_${$}.pro 
     157    output=../idldoc_html_output/ 
     158    log="/tmp/idldochtlm_${$}.log" 
     159    pro="/tmp/idldochtlm_${$}.pro" 
     160    cat <<EOF > ${pro} 
    143161!path = expand_path('+' + '../idldoc/') 
    144162print,!path 
    145 idldoc,root="../../",title="SAXO Documentation",LOG_FILE="/tmp/idldochtlm_${$}.log", $ 
    146 output="../idldoc_html_output",/preformat,/embed 
     163idldoc,root="../../",title="SAXO Documentation", $ 
     164LOG_FILE="${log}", $ 
     165output="${output}", /preformat, /embed 
    147166exit 
    148167EOF 
    149168    # launch idl with the file built above 
    150     IDL_STARTUP=/tmp/idldoc_html_${$}.pro;idl 
    151     /bin/rm /tmp/idldoc_html_${$}.pro 
     169    IDL_STARTUP=${pro};idl 
     170    /bin/rm ${pro} 
    152171    # In order to do not have to many revision in svn, we modify some 
    153172    # lines produced by idldoc : 
     
    170189    # should also be removed ++ je ne sais pas dire en sed la ligne 
    171190    # suivant l'occurence de Last modification 
    172     # add ?format=rawx to links on html files 
    173     list_html=$(find ../idldoc_html_output/ -name "*.html") 
     191    # add ?format=raw to links on html files 
     192    list_html=$(find ${output} -name "*.html") 
    174193    for file_html in ${list_html} 
    175194    do 
     
    180199     -e "/Last modification:/d" \ 
    181200     -e "/<dd>... ... .* ..:..:.. ....<\/dd>/d" \ 
    182      -e 's/\(href=".*\)\(\.html\)\("\)/\1\2?format=raw\3/g' \ 
    183      -e 's/\(href=".*\)\(\.html\)\(#.*"\)/\1\2?format=raw\3/g' \ 
    184      -e 's/\(src=".*\)\(\.html\)\("\)/\1\2?format=raw\3/g' \ 
     201     -e 's@\(href="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\("\)@\1\2?format=raw\3@g' \ 
     202     -e 's@\(href="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\(#.*"\)@\1\2?format=raw\3@g' \ 
     203     -e 's@\(src="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\("\)@\1\2?format=raw\3@g' \ 
    185204     ${file_html} > ${file_html}_modify 
    186205     mv ${file_html}_modify ${file_html} 
    187206    done 
    188     echo "iii : you can see log file in /tmp/idldochtlm_${$}.log" 
    189     echo "iii : and look ../idldoc_html_output/idldoc-warnings.html#undoc" 
     207    # suppress ".html" in idldoc-index*.html in lines like 
     208    # a parameter from the routine ./ReadWrite/idl-NetCDF/ncdf_read.html 
     209    list_html=$(find ${output} -name "idldoc-index*.html") 
     210    for file_html in ${list_html} 
     211    do 
     212     sed \ 
     213     -e "s/\(a parameter from the routine \)\(.*\)\(.html\)/\1\2/" \ 
     214     ${file_html} > ${file_html}_modify 
     215     mv ${file_html}_modify ${file_html} 
     216    done 
     217    echo "iii : you can see log file in ${log}" 
     218    echo "iii : and look ${output}/idldoc-warnings.html#undoc" 
    190219    exit 1 
    191220fi 
  • trunk/SRC/Documentation/xmldoc/whatsnew.html

    r92 r111  
    11<html><head> 
    22      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 
    3    <title>What's new in SAXO</title><link rel="stylesheet" href="saxo.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.69.1"><meta name="keywords" content="idl, SAXO"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e1"></a>What's new in SAXO</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">S&eacute;bastien</span> <span class="surname">Masson</span></h3><code class="email">&lt;<a href="mailto:smasson_at_lodyc.jussieu.fr">smasson_at_lodyc.jussieu.fr</a>&gt;</code></div><div class="author"><h3 class="author"><span class="firstname">Fran&ccedil;oise</span> <span class="surname">Pinsard</span></h3><code class="email">&lt;<a href="mailto:Francoise.Pinsard_at_lodyc.jussieu.fr">Francoise.Pinsard_at_lodyc.jussieu.fr</a>&gt;</code></div></div></div><div><div class="revhistory"><table border="1" width="100%" summary="Revision history"><tr><th align="left" valign="top" colspan="2"><b>Revision History</b></th></tr><tr><td align="left">Revision 0.0</td><td align="left">May 2006</td></tr><tr><td align="left" colspan="2">First draft</td></tr><tr><td align="left">Revision 0.1</td><td align="left">June 2006</td></tr><tr><td align="left" colspan="2">add date according to output of <span><strong class="command">svn</strong></span> log</td></tr></table></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="#d0e48">1. Introduction</a></span></dt><dt><span class="sect1"><a href="#d0e55">2. Changeset 73 (2006-05-22)</a></span></dt><dt><span class="sect1"><a href="#d0e71">3. Changeset 69 (2006-05-11)</a></span></dt><dt><span class="sect1"><a href="#d0e81">4. Changeset 68 (2006-05-09)</a></span></dt><dt><span class="sect1"><a href="#d0e96">5. Changeset 7 (2006-04-24)</a></span></dt><dt><span class="sect1"><a href="#d0e106">6. Changeset 2 (revision date=2002-09-11 actually done 2006-04-13)</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e48"></a>1.&nbsp;Introduction</h2></div></div></div><p> 
     3   <title>What's new in SAXO</title><link rel="stylesheet" href="saxo.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.69.1"><meta name="keywords" content="idl, SAXO"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e1"></a>What's new in SAXO</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">S&eacute;bastien</span> <span class="surname">Masson</span></h3><code class="email">&lt;<a href="mailto:smasson_at_lodyc.jussieu.fr">smasson_at_lodyc.jussieu.fr</a>&gt;</code></div><div class="author"><h3 class="author"><span class="firstname">Fran&ccedil;oise</span> <span class="surname">Pinsard</span></h3><code class="email">&lt;<a href="mailto:Francoise.Pinsard_at_lodyc.jussieu.fr">Francoise.Pinsard_at_lodyc.jussieu.fr</a>&gt;</code></div></div></div><div><div class="revhistory"><table border="1" width="100%" summary="Revision history"><tr><th align="left" valign="top" colspan="2"><b>Revision History</b></th></tr><tr><td align="left">Revision 0.0</td><td align="left">May 2006</td></tr><tr><td align="left" colspan="2">First draft</td></tr><tr><td align="left">Revision 0.1</td><td align="left">June 2006</td></tr><tr><td align="left" colspan="2">add date according to output of svn log</td></tr></table></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="#d0e45">1. Introduction</a></span></dt><dt><span class="sect1"><a href="#d0e52">2. Changeset 73 (2006-05-22)</a></span></dt><dt><span class="sect1"><a href="#d0e68">3. Changeset 69 (2006-05-11)</a></span></dt><dt><span class="sect1"><a href="#d0e78">4. Changeset 68 (2006-05-09)</a></span></dt><dt><span class="sect1"><a href="#d0e93">5. Changeset 7 (2006-04-24)</a></span></dt><dt><span class="sect1"><a href="#d0e103">6. Changeset 2 (revision date=2002-09-11 actually done 2006-04-13)</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e45"></a>1.&nbsp;Introduction</h2></div></div></div><p> 
    44Here are listed major revisions. 
    55</p><p> 
    66SAXO team should provide instructions to prevent from side effects of upgrade. 
    7 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e55"></a>2.&nbsp;Changeset 73 (2006-05-22)</h2></div></div></div><p> 
     7</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e52"></a>2.&nbsp;Changeset 73 (2006-05-22)</h2></div></div></div><p> 
    88This revision is the last one made to split svn repository in two parts : SRC and DATA. 
    99</p><p> 
    1010Details can be seen in <a href="http://forge.ipsl.jussieu.fr/saxo/changeset/71" target="_top">Changeset 71</a>, <a href="http://forge.ipsl.jussieu.fr/saxo/changeset/72" target="_top">Changeset 72</a> and <a href="http://forge.ipsl.jussieu.fr/saxo/changset/73" target="_top">Changeset 73</a>. 
    11 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e71"></a>3.&nbsp;Changeset 69 (2006-05-11)</h2></div></div></div><p> 
     11</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e68"></a>3.&nbsp;Changeset 69 (2006-05-11)</h2></div></div></div><p> 
    1212This revision includes new XXX features. 
    1313</p><p> 
    1414Details can be seen in <a href="http://forge.ipsl.jussieu.fr/saxo/changeset/69" target="_top">Changeset 69</a>. 
    15 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e81"></a>4.&nbsp;Changeset 68 (2006-05-09)</h2></div></div></div><p> 
     15</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e78"></a>4.&nbsp;Changeset 68 (2006-05-09)</h2></div></div></div><p> 
    1616This revision is equivalent to SAXO_RD 20060124. 
    1717</p><p> 
     
    1919</p><p> 
    2020Details can be seen in <a href="http://forge.ipsl.jussieu.fr/saxo/changeset/68" target="_top">Changeset 68</a>. 
    21 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e96"></a>5.&nbsp;Changeset 7 (2006-04-24)</h2></div></div></div><p> 
     21</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e93"></a>5.&nbsp;Changeset 7 (2006-04-24)</h2></div></div></div><p> 
    2222This revision is equivalent to IDL_RD. 
    2323</p><p> 
    2424Details can be seen in <a href="http://forge.ipsl.jussieu.fr/saxo/changeset/7" target="_top">Changeset 7</a>. 
    25 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e106"></a>6.&nbsp;Changeset 2 (revision date=2002-09-11 actually done 2006-04-13)</h2></div></div></div><p> 
     25</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e103"></a>6.&nbsp;Changeset 2 (revision date=2002-09-11 actually done 2006-04-13)</h2></div></div></div><p> 
    2626This revision is equivalent to <span class="bold"><strong>obsolete</strong></span> CVS repository. 
    2727</p><p> 
  • trunk/SRC/Documentation/xmldoc/whatsnew.xml

    r92 r111  
    2323        <revnumber>0.1</revnumber> 
    2424        <date>June 2006</date> 
    25         <revremark>add date according to output of <command>svn</command> log</revremark> 
     25        <revremark>add date according to output of svn log</revremark> 
    2626      </revision> 
    2727    </revhistory>   
Note: See TracChangeset for help on using the changeset viewer.