Changeset 325


Ignore:
Timestamp:
04/18/13 18:54:47 (11 years ago)
Author:
pinsard
Message:

improvments of doc + some doctest features

Location:
trunk
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/aeres/scripts/aeresrh.py

    r322 r325  
    4343 
    4444https://secure.simplistix.co.uk/svn/xlrd/trunk/xlrd/doc/xlrd.html 
     45 
    4546http://www.simplistix.co.uk/presentations/python-excel.pdf 
    4647 
     
    5354 aeresrh.py --ifile ${PROJECT}/data/aeresrh.xls 
    5455 
    55  aeresrh.py  --ifile ${HOME}/Downloads/personnel_francoise.xls 
     56 aeresrh.py --ifile ${HOME}/Downloads/personnel_francoise.xls 
    5657 
    5758TODO 
  • trunk/aeres/scripts/build_firstname_id.py

    r195 r325  
    1111=========== 
    1212 
    13 generation de la partie "prénom" de l'id 
    14  
     13generation de la partie "prénom" de l'id : 
     14 - suppress blanks 
     15 - suppress punctation 
     16 - replace diacritals by their non-diacriticals equivalent (ie ï become i) 
    1517 
    1618SEE ALSO 
     
    3234TODO 
    3335==== 
     36 
     37ne passe pas les doctests 
    3438 
    3539EVOLUTIONS 
     
    127131if __name__ == "__main__": 
    128132    import doctest 
    129     doctest.testmod() 
     133    if doctest.testmod().failed: 
     134        import sys 
     135        sys.exit(1) 
     136    
  • trunk/aeres/scripts/build_surname_id.py

    r195 r325  
    1212 
    1313generation de la partie "nom" de l'id 
    14  
     14 - suppress blanks 
     15 - suppress punctation 
     16 - replace diacritals by their non-diacriticals equivalent (ie ï become i) 
     17 - uppercase every characters 
    1518 
    1619SEE ALSO 
     
    3033TODO 
    3134==== 
     35 
     36ne passe pas les doctests 
    3237 
    3338EVOLUTIONS 
     
    105110if __name__ == "__main__": 
    106111    import doctest 
    107     doctest.testmod() 
     112    if doctest.testmod().failed: 
     113        import sys 
     114        sys.exit(1) 
  • trunk/aeres/scripts/ldap_biblio.py

    r322 r325  
    4444SEE ALSO 
    4545======== 
     46 
     47.. index:: LDAP 
    4648 
    4749EXAMPLES 
  • trunk/before.sh

    r324 r325  
    1515# ======== 
    1616# 
    17 # :: 
    18 # 
    19 $ before.sh -p product -s dirsrc -w dirwww -l lang -mono|-multi -m nmany 
     17# .. code-block:: sh  
     18# 
     19  before.sh -p product -s dirsrc -w dirwww -l lang -mono|-multi -m nmany 
    2020# 
    2121# DESCRIPTION 
  • trunk/checkmain.sh

    r146 r325  
    1111# ======== 
    1212# 
    13 # :: 
    14 # 
    15 $ checkmain.sh [--debug] -i filein 
     13# .. code-block:: sh 
     14# 
     15  checkmain.sh [--debug] -i filein 
    1616# 
    1717# DESCRIPTION 
     
    4949# To check the SUPERBIB demo main file:: 
    5050# 
    51 #   $ ./checkmain.sh -i data/maindemo1.xml 
     51#   checkmain.sh -i data/maindemo1.xml 
    5252#   Title : superbib Demo1 
    5353#   Project : superbib demo1 
     
    5757# To check the NEMO demo main file:: 
    5858# 
    59 #   $ ./checkmain.sh -i data/mainnemo.xml 
     59#   checkmain.sh -i data/mainnemo.xml 
    6060#   Title : NEMO survey 
    6161#   Project : NEMO 
  • trunk/compilers_db.xsl

    r323 r325  
    2929 
    3030  * correction pour cause de dysfonctionnement sous firefox (mais ok sous safari) : 
    31     Le 1er choix est modifi<E9> si on clique sur un des choix suivant 
     31    Le 1er choix est modifié si on clique sur un des choix suivant 
    3232 
    3333- fplod 2007-04-26T10:13:37Z aedon.locean-ipsl.upmc.fr (Darwin) 
  • trunk/docs/docs_dev/source/guides/contact.rst

    r177 r325  
    2525.. _fp: 
    2626 
    27 Françoise Pinsard mailto:francoise.pinsard_at_locean-ipsl.upmc.fr 
     27|contact| 
  • trunk/docs/docs_dev/source/prolog.rst

    r178 r325  
    1414.. ==== 
    1515.. 
     16.. diacritique  in my name.  
     17.. 
     18.. liste de diffusion plutot qu'email perso 
     19.. 
     20.. pas de lien avec mailto dans le fichier HTML 
     21.. 
    1622.. EVOLUTIONS 
    1723.. ========== 
     
    2026.. 
    2127.. $URL$ 
     28.. 
     29.. - fplod 20130418T155844Z cratos.locean-ipsl.upmc.fr (Linux) 
     30.. 
     31..   * add contact 
    2232.. 
    2333.. - fplod 20120224 
     
    3242.. _xmldocbook: http://www.docbook.org/tdg5/en/html/ 
    3343 
     44.. |contact| replace:: Francoise Pinsard  
     45.. _contact: mailto:Francoise.Pinsard_at_locean-ipsl.upmc.fr 
  • trunk/insertphp.sh

    r146 r325  
    1515# ======== 
    1616# 
    17 # :: 
     17# .. code-block:: sh 
    1818# 
    19 $ insertphp.sh -i filein -o fileout -s sedfile -d depth 
     19  insertphp.sh -i filein -o fileout -s sedfile -d depth 
    2020# 
    2121# DESCRIPTION 
     
    3535# To do the job on "one" branch:: 
    3636# 
    37 $ ./insertphp.sh -i template_beforesed.php -o ./template_one.php -d 2 -s insertphp_one.sed 
     37insertphp.sh -i template_beforesed.php -o ./template_one.php -d 2 -s insertphp_one.sed 
    3838# 
    3939# To check:: 
    4040# 
    41 $ diff template_beforesed.php template.php 
     41diff template_beforesed.php template.php 
    4242# 
    4343# 
    4444# To do the job on "many" branch:: 
    4545# 
    46 $ ./insertphp.sh -i template_beforesed.php -o ./template_many.php -d 3 -s insertphp_many.sed 
     46insertphp.sh -i template_beforesed.php -o ./template_many.php -d 3 -s insertphp_many.sed 
    4747# 
    4848# see makefile 
  • trunk/install.sh

    r116 r325  
    1515# ======== 
    1616# 
    17 # :: 
     17# .. code-block:: sh 
    1818# 
    19 $ install.sh -w dirwww -p dirpublish -u urlpublish -l login 
     19  install.sh -w dirwww -p dirpublish -u urlpublish -l login 
    2020# 
    2121# DESCRIPTION 
     
    3535# files), using :command:`ncftp` tool : 
    3636# 
    37 # For example, to clean directory on LOCEAN web server :: 
     37# For example, to clean directory on LOCEAN web server: 
    3838# 
    39 #  $ ncftp -u fplod www.locean-ipsl.upmc.fr 
    40 #  ncftp> cd fplod 
    41 #  ncftp> rm -f pageperso/.DS_Store 
    42 #  ncftp> rm -rf pageperso 
    43 #  ncftp> exit 
     39# .. code-block:: sh 
     40# 
     41#    ncftp -u fplod www.locean-ipsl.upmc.fr 
     42#    ncftp> cd fplod 
     43#    ncftp> rm -f pageperso/.DS_Store 
     44#    ncftp> rm -rf pageperso 
     45#    ncftp> exit 
    4446# 
    4547# EXAMPLES 
  • trunk/install_superbib.sh

    r144 r325  
    1818# ======== 
    1919# 
    20 # ``install_superbib.sh -lf loginforgeipsl -d directory`` 
     20# .. code-block:: sh 
     21# 
     22#    install_superbib.sh -lf loginforgeipsl -d directory 
    2123# 
    2224# DESCRIPTION 
     
    5052# ======== 
    5153# 
    52 # For installation on cratos:: 
    53 # 
    54 #  cratos$ install_superbib.sh \ 
    55 #          -lf pinsard \ 
    56 #          -d ${HOME}/SUPERBIB/ 
     54# For installation on cratos 
     55# 
     56# .. code-block:: sh 
     57# 
     58#    install_superbib.sh \ 
     59#    -lf pinsard \ 
     60#    -d ${HOME}/SUPERBIB/ 
    5761# 
    5862# SEE ALSO 
  • trunk/linkchecker.sh

    r116 r325  
    1515# ======== 
    1616# 
    17 # :: 
    18 # 
    19 #  $ linkchecker.sh -d dircheck -u url 
    20 # 
     17# .. code-block:: sh 
     18# 
     19#    linkchecker.sh -d dircheck -u url 
    2120# 
    2221# DESCRIPTION 
     
    4443# exemple syntaxe 
    4544# 
    46 # :: 
    47 # 
    48 $ linkchecker -odot -v http://www.lodyc.jussieu.fr/NEMO/general/biblio_new/   | dot -Tps > sitemap.ps 
     45# .. code-block:: sh  
     46# 
     47  linkchecker -odot -v http://www.lodyc.jussieu.fr/NEMO/general/biblio_new/   | dot -Tps > sitemap.ps 
    4948# 
    5049# 
  • trunk/mailtouser.sh

    r177 r325  
    1414# ======== 
    1515# 
    16 # :: 
    17 # 
    18 #  $ mailtouser.sh -m mailbodyfile -x xmloutput 
    19 # 
     16# .. code-block:: sh 
     17# 
     18#    mailtouser.sh -m mailbodyfile -x xmloutput 
    2019# 
    2120# 
     
    3635# ======== 
    3736# 
    38 # :: 
    39 # 
    40 $ ./mailtouser.sh -m data/mail2007-05-10T09:01:56Z -x ginette.xml 
     37# .. code-block:: sh  
     38# 
     39  mailtouser.sh -m data/mail2007-05-10T09:01:56Z -x ginette.xml 
    4140# 
    4241# 
  • trunk/project_profile.sh

    r322 r325  
    1212# ======== 
    1313# 
    14 # Online usage :: 
    15 # 
    16 #  $ . ./project_profile.sh -d directory -i indir -o outdir -t tempdir 
    17 # 
    18 # In :file:`${HOME}/.profile`, add the following line :: 
    19 # 
    20 #  . project_profile.sh -d directory  -i indir -o outdir -t tempdir 
     14# On line usage: 
     15# 
     16# .. code-block:: sh 
     17# 
     18#  ./project_profile.sh -d directory -i indir -o outdir -t tempdir 
     19# 
     20# In :file:`${HOME}/.profile`, add the following line: 
     21# 
     22# .. code-block:: sh 
     23# 
     24#    . project_profile.sh -d directory  -i indir -o outdir -t tempdir 
    2125# 
    2226# DESCRIPTION 
  • trunk/tests/demo1.sh

    r177 r325  
    1111# ======== 
    1212# 
    13 # :: 
     13# .. code-block:: sh 
    1414# 
    15 #   $ tests/test_demo1 
     15#    tests/test_demo1 
    1616# 
    1717# DESCRIPTION 
  • trunk/tests/demo2.sh

    r177 r325  
    1111# ======== 
    1212# 
    13 # :: 
     13# .. code-block:: sh 
    1414# 
    15 #   $ tests/test_demo2 
     15#    tests/test_demo2 
    1616# 
    1717# DESCRIPTION 
  • trunk/years_matplotlib.xsl

    r323 r325  
    2222======== 
    2323 
    24 :: 
     24.. code-block:: sh 
    2525 
    26   $ xsltproc \-\-param makedate $((date)) \-\-param path "'.'" \-\-output ginette.py years_matplotlib.xsl biblio.xml 
    27   $ python ginette.py 
    28   $ open ++.png 
     26  xsltproc \-\-param makedate $((date)) \-\-param path "'.'" \-\-output ginette.py years_matplotlib.xsl biblio.xml 
     27  python ginette.py 
     28  open ++.png 
    2929 
    3030TODO 
  • trunk/years_ploticus.xsl

    r323 r325  
    6464<xsl:template match="d:bibliography"> 
    6565# 
    66 #  $ pl -o years.png png years.ploticus 
     66# .. code-block:: sh 
     67# 
     68#    pl -o years.png png years.ploticus 
    6769# 
    6870# FILES 
Note: See TracChangeset for help on using the changeset viewer.