Add forward to stable, fix docs preview

vite-ws-ssl-compatible
Georg Krause 2022-03-10 11:05:25 +01:00 zatwierdzone przez Georg Krause
rodzic 2031babf64
commit 0de8a829d8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 2970D504B2183D22
3 zmienionych plików z 19 dodań i 2 usunięć

Wyświetl plik

@ -82,7 +82,7 @@ review_docs:
- git switch stable
- git switch $CI_COMMIT_BRANCH
script:
- ./build_docs.sh
- poetry run python -m sphinx . $BUILD_PATH
cache:
key: "$CI_PROJECT_ID__sphinx"
paths:

Wyświetl plik

@ -2,7 +2,7 @@
{% block document %}
{% if current_version.name == "develop" %}
{% if current_version and current_version.name == "develop" %}
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This documentation only applies for the development version of

17
public/index.html 100644
Wyświetl plik

@ -0,0 +1,17 @@
<!DOCTYPE HTML>
<!-- This file makes sure user get automatically forwarded to the stable documentation. -->
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=stable/index.html">
<script type="text/javascript">
window.location.href = "stable/index.html"
</script>
<title>Page Redirection</title>
</head>
<body>
<!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
If you are not redirected automatically, follow this <a href='stable/index.html'>link</a>.
</body>
</html>