lightning/docs/rtfd-build.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
378 B
Bash
Raw Normal View History

# 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