#!/bin/bash
TARGET=../../nextflow-website/assets
LATEST=$TARGET/docs/latest/

mkdir -p $TARGET/docs/latest/

rsync -r _build/html/* $LATEST

( cd ../../nextflow-website; jbake)

#!/bin/bash
TARGET=../../nextflow-website/assets
if egrep "^release = '.*edge'$" -c conf.py >/dev/null; then
MODE=edge
else 
MODE=latest
fi
LATEST=$TARGET/docs/$MODE/

mkdir -p $TLATEST

rsync -r _build/html/* $LATEST

( cd ../../nextflow-website; jbake)

Update docs for edge release
Update docs for edge release 