diff options
Diffstat (limited to 'copy-docs.sh')
-rwxr-xr-x | copy-docs.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/copy-docs.sh b/copy-docs.sh new file mode 100755 index 0000000..1cd7dd5 --- /dev/null +++ b/copy-docs.sh @@ -0,0 +1,9 @@ +#!/bin/bash +VERSION=`cut -d "." -f 1-2 version.txt` +cd userdocs +DEST=../../fmsite/freshmemory/static/docs/$VERSION +mkdir $DEST +make clean html +rm -r _build/html/_sources 2> /dev/null +cp -r _build/html/* $DEST +cd .. |