14 lines
378 B
Bash
14 lines
378 B
Bash
# building for PRs and skip stable and latest states
|
|
|
|
if ! [ $READTHEDOCS_VERSION == "latest" -o $READTHEDOCS_VERSION == "stable" ];
|
|
then
|
|
cd ./docs/source-pytorch ;
|
|
export FAST_DOCS_DEV=1 ;
|
|
make html --jobs $(nproc) ;
|
|
ls -lh ../build
|
|
else
|
|
echo "Void build... :-]" ;
|
|
mkdir -p ./docs/build/html
|
|
cp ./docs/redirect.html ./docs/build/html/index.html
|
|
fi
|