From c1d09fab00bb4195c42ba4c78abd0fdf1af6f2eb Mon Sep 17 00:00:00 2001 From: Philippe Tillet Date: Tue, 8 Feb 2022 19:54:12 -0800 Subject: [PATCH] Added index.html multiversion file --- .htaccess | 1 + index.html | 11 +++++++++++ update-website.sh | 11 ----------- 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 .htaccess create mode 100644 index.html delete mode 100644 update-website.sh diff --git a/.htaccess b/.htaccess new file mode 100644 index 000000000..23018b5b2 --- /dev/null +++ b/.htaccess @@ -0,0 +1 @@ +DirectoryIndex master/index.html \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 000000000..58f7f5595 --- /dev/null +++ b/index.html @@ -0,0 +1,11 @@ + + + + + Redirecting to https://triton-lang.org/master/index.html + + + + + + \ No newline at end of file diff --git a/update-website.sh b/update-website.sh deleted file mode 100644 index 0cbffe3a0..000000000 --- a/update-website.sh +++ /dev/null @@ -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" \ No newline at end of file