lightning/docs/rtfd-build.sh

13 lines
324 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 PL_FAST_DOCS_DEV=1 ;
make html --jobs $(nproc) ;
ls -lh ../build
else
echo "Void build... :-]" ;
mkdir -p ./docs/build/html
fi