Skip to content

Commit 2943723

Browse files
Add link to latest documentation in version warning banner
1 parent 17d5687 commit 2943723

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/templates/docs/doc.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@
3838
{% if release.is_dev %}
3939
{% if "internals" not in docurl %}{# The dev version is canonical for internals/. #}
4040
<div id="dev-warning" class="doc-floating-warning">
41-
{% trans "This document is for Django's development version, which can be significantly different from previous releases. For older releases, use the version selector floating in the bottom right corner of this page." %}
41+
{% blocktrans trimmed %}
42+
This document is for Django's development version, which can be significantly different from previous releases.
43+
<a href="https://docs.djangoproject.com/en/stable/" style="font-weight : bold; text-decoration: underline;"> Click here for the stable version </a>
44+
{% endblocktrans %}
4245
</div>
4346
{% endif %}
4447
{% elif release.is_preview %}

0 commit comments

Comments
 (0)