rtfd: fix building with stable/latest (#18615)

This commit is contained in:
Jirka Borovec 2023-09-23 07:40:22 +02:00 committed by GitHub
parent 3326d92692
commit 80f131c668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

9
docs/redirect.html Normal file
View File

@ -0,0 +1,9 @@
<!doctype html>
<html>
<head>
<meta http-equiv="refresh" content="0; url='https://lightning.ai/docs/pytorch/'" />
</head>
<body>
<p>You will be redirected to PyTorch Lightning docs.</p>
</body>
</html>

View File

@ -9,4 +9,5 @@ then
else
echo "Void build... :-]" ;
mkdir -p ./docs/build/html
cp ./docs/redirect.html ./docs/build/html/index.html
fi