mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-08 20:28:55 -05:00
docs: add a warning on latest version of docs (#3570)
This commit is contained in:
parent
ef101ccb9a
commit
9a8c134c97
9
docs/_templates/layout.html
vendored
9
docs/_templates/layout.html
vendored
@ -1,5 +1,14 @@
|
|||||||
{% extends '!layout.html' %}
|
{% extends '!layout.html' %}
|
||||||
{% block document %}
|
{% block document %}
|
||||||
|
{% if version_slug == 'latest' %}
|
||||||
|
<div class="admonition warning">
|
||||||
|
<p class="first admonition-title">Warning</p>
|
||||||
|
<p class="last">
|
||||||
|
This document is for Red's development version, which can be significantly different from previous releases.
|
||||||
|
If you're a regular user, you should read the <a href="{{ versions['stable'] }}">Red documentation for the current stable release</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
<a href="https://github.com/Cog-Creators/Red-DiscordBot">
|
<a href="https://github.com/Cog-Creators/Red-DiscordBot">
|
||||||
<img style="position: absolute; top: 0; right: 0; border: 0;"
|
<img style="position: absolute; top: 0; right: 0; border: 0;"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user