github.com/leonlxy/hyperledger@v1.0.0-alpha.0.20170427033203-34922035d248/docs/source/mdtorst.sh (about)

     1  
     2  FILES=*.md
     3  for f in $FILES
     4  do
     5    # extension="${f##*.}"
     6    filename="${f%.*}"
     7    echo "Converting $f to $filename.rst"
     8    `pandoc $f -t rst -o $filename.rst`
     9    # uncomment this line to delete the source file.
    10    # rm $f
    11  done