diff --git a/.gitignore b/.gitignore index 09c9a58f7fc36d999c114a681f84110726e25685..715a1e4c5ad78ff01c939a2c9c4f4054f31d113a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ tmp/ node_modules/ *.bkp site.tar.gz +final.tar.gz final/ ## Cache @@ -132,6 +133,9 @@ acs-*.bib #(r)(e)ledmac/(r)(e)ledpar *.end *.?end +*.[1-9] +*.[1-9][0-9] +*.[1-9][0-9][0-9] *.[1-9]R *.[1-9][0-9]R *.[1-9][0-9][0-9]R diff --git a/Makefile b/Makefile index fb6e6879dab70db3c7acf4efb2e06afcb89ce81f..f0a4e2e451b60d191b865d6021855c984e654c29 100644 --- a/Makefile +++ b/Makefile @@ -14,15 +14,10 @@ deploy-dockerhub-docs: verify: sudo nginx -t -build-docs: - sudo pip3 install -r ./requirements.txt - mkdocs build - cd ./swagger && bash ./generate.sh - build-swagger: cd ./swagger && UPDATE=1 ./generate.sh -deploy-docs: build-docs - tar czfv ./site.tar.gz ./site - scp ./site.tar.gz ec-thoas2:site.tar.gz - ssh ec-thoas2 "rm -rf /system/user/ifs/infrastructures/public_html/dbrepo/*; tar xzfv ./site.tar.gz; rm -f ./site.tar.gz; cp -r ./site/* /system/user/ifs/infrastructures/public_html/dbrepo; rm -rf ./site" +deploy-docs: + tar czfv ./final.tar.gz ./final + scp ./final.tar.gz ec-thoas2:final.tar.gz + ssh ec-thoas2 "rm -rf /system/user/ifs/infrastructures/public_html/dbrepo/*; tar xzfv ./final.tar.gz; rm -f ./final.tar.gz; cp -r ./final/* /system/user/ifs/infrastructures/public_html/dbrepo; rm -rf ./final" diff --git a/docs/index.md b/docs/index.md index f70d9d1e1500297459a0a985fe5beb2e2fb82ac1..d2b05ee1aa662afc33e30beed153fb8c43a13be2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -33,15 +33,3 @@ evolving, allows reproducing of query results and supports findable-, accessible - Demonstration instance [https://dbrepo1.ec.tuwien.ac.at](https://dbrepo1.ec.tuwien.ac.at) - Sandbox instance [https://dbrepo2.ec.tuwien.ac.at](https://dbrepo2.ec.tuwien.ac.at) - System description [https://doi.org/10.2218/ijdc.v17i1.825](https://doi.org/10.2218/ijdc.v17i1.825) - -<style> -video { - max-width: 100%; -} -#teaser-preview { - width: 50%; -} -.hidden { - display: none; -} -</style> diff --git a/redirect.html b/redirect.html new file mode 100644 index 0000000000000000000000000000000000000000..ac283ba4bf85f95d1f54bf97001ffda7c92889a4 --- /dev/null +++ b/redirect.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>Redirect Notice</title> + <meta http-equiv="Refresh" content="0; url='https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/1.3/'" /> +</head> +<body> +<h1>Redirect Notice</h1> +<p> + This page should automatically open the documentation for version 1.3. In case this page does not load the site is + available at: +</p> +<p> + <a href="https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/1.3/">https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/1.3/</a> +</p> +</body> +</html>