diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2021-07-14 11:49:10 +1200 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2021-07-14 11:49:10 +1200 |
commit | d24f813f3f2a05c112e803e4256b53535895fc98 (patch) | |
tree | 601e6ae9a1cd44bcfdcf91739a5ca36aedd827c9 /copy-docs.sh |
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 .. |