Adding upstream version 0.13.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
c0ae77e0f6
commit
ecf5ca3300
272 changed files with 33172 additions and 0 deletions
17
docs/overrides/main.html
Normal file
17
docs/overrides/main.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block outdated %}
|
||||
<div id="current-version"> </div>
|
||||
<script>
|
||||
let message = "You're not viewing the latest version."
|
||||
// There is probably a nicer method retrieving the value of the
|
||||
// version element but it is loaded after the outdated block
|
||||
let current = window.location.pathname.split("/")[1]
|
||||
if (current == "main") {
|
||||
message = "This is the documentation from the 'main' branch which is not a stable release."
|
||||
}
|
||||
message = message + '<a href="{{ "../" ~ base_url }}"> <strong>Click here to go to latest stable release.</strong> </a>'
|
||||
document.getElementById("current-version").innerHTML = message;
|
||||
</script>
|
||||
{{app}}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue