From 9a8c134c970dac0d12186615d617f65c683420b1 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Wed, 19 Feb 2020 03:53:07 +0100 Subject: [PATCH] docs: add a warning on `latest` version of docs (#3570) --- docs/_templates/layout.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 91fab053e..567332613 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -1,5 +1,14 @@ {% extends '!layout.html' %} {% block document %} +{% if version_slug == 'latest' %} +
+

Warning

+

+ 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 Red documentation for the current stable release. +

+
+{% endif %} {{ super() }}