Add forward to stable, fix docs preview
This commit is contained in:
parent
2031babf64
commit
0de8a829d8
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
Loading…
Reference in New Issue