Changeset 10146 for NEMO/trunk/doc/bin


Ignore:
Timestamp:
2018-09-20T18:06:07+02:00 (2 years ago)
Author:
nicolasmartin
Message:

Reorganisation for future addition of .rst files from users wiki extraction

  • Create root directories latex and rst for tidy up
  • Move namelists folder to the root with the aim to gather later all namelist groups here (OCE, ICE & TOP) Also building scripts have been modified so that figures is now expected to be present at the root
  • Create bin directory with namelist utilities (check and update)
  • Under rst, add 4 dummy files that would gather the whole documentation existing currently in users wiki
    • model_interfacing.rst
    • reference_configurations.rst
    • setup_configuration.rst
    • test_cases.rst
Location:
NEMO/trunk/doc/bin
Files:
2 deleted
3 moved

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/bin/nlsts_check.sh

    r10139 r10146  
    11#!/bin/sh 
    22 
    3 echo 'Namelists not included in the manual:' 
     3if [[ $* != '' ]]; then 
    44 
    5 for nlst in nam*; do 
    6    [[ ! $( grep "forfile{../namelists/$nlst}" ../tex_sub/*.tex ) ]] && printf "$nlst " 
     5    if [[ $1 = 'all' ]]; then 
     6        models='NEMO SI3 TOP' 
     7    else 
     8        models=$1 
     9    fi 
     10 
     11else 
     12    models='NEMO' 
     13fi 
     14 
     15for model in $models; do 
     16    [[ $model =~ ^(SI3|TOP)$ ]] && continue 
     17    echo 'Namelists not included in the '$model' manual:' 
     18 
     19    for nlst in $( ls namelists ); do 
     20 
     21        if [[ ! $( grep "\\nlst{$nlst}" ./latex/$model/subfiles/*.tex ) ]]; then 
     22            printf "$nlst " 
     23        fi 
     24 
     25    done 
     26 
     27    echo 
     28 
    729done 
    830 
    9 echo 
    10  
    1131exit 0 
Note: See TracChangeset for help on using the changeset viewer.