Skip to content

Commit 80f131c

Browse files
authored
rtfd: fix building with stable/latest (Lightning-AI#18615)
1 parent 3326d92 commit 80f131c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/redirect.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta http-equiv="refresh" content="0; url='https://lightning.ai/docs/pytorch/'" />
5+
</head>
6+
<body>
7+
<p>You will be redirected to PyTorch Lightning docs.</p>
8+
</body>
9+
</html>

docs/rtfd-build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ then
99
else
1010
echo "Void build... :-]" ;
1111
mkdir -p ./docs/build/html
12+
cp ./docs/redirect.html ./docs/build/html/index.html
1213
fi

0 commit comments

Comments
 (0)