Added index.html multiversion file

This commit is contained in:
Philippe Tillet
2022-02-08 19:54:12 -08:00
parent 3aa41bcbdd
commit c1d09fab00
3 changed files with 12 additions and 11 deletions

1
.htaccess Normal file
View File

@@ -0,0 +1 @@
DirectoryIndex master/index.html

11
index.html Normal file
View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>Redirecting to https://triton-lang.org/master/index.html</title>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; URL=https://triton-lang.org/master/index.html">
<link rel="canonical" href="https://triton-lang.org/master/index.html">
</head>
</html>

View File

@@ -1,11 +0,0 @@
rm -r /tmp/triton-docs;
mkdir /tmp/triton-docs;
cp -r CNAME /tmp/triton-docs/
cp -r .nojekyll /tmp/triton-docs/
cp -r update-website.sh /tmp/triton-docs/
cp -r docs/_build/html/* /tmp/triton-docs/
rm -r *
cp -r /tmp/triton-docs/* .
ln -s master docs
git add .
git commit -am "[GH-PAGES] Updated website"