From adf1da34ccb7b2fae0649b95b7be8f2175258198 Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Fri, 3 Feb 2023 15:58:54 -0500 Subject: [PATCH] Adds warning to 1.0 (#2626) * Adds warning to 1.0 Signed-off-by: Fanit Kolchina * Rewords warning Signed-off-by: Fanit Kolchina --------- Signed-off-by: Fanit Kolchina --- _includes/warning.html | 1 + _layouts/default.html | 1 + 2 files changed, 2 insertions(+) create mode 100644 _includes/warning.html diff --git a/_includes/warning.html b/_includes/warning.html new file mode 100644 index 0000000000..3c9382e159 --- /dev/null +++ b/_includes/warning.html @@ -0,0 +1 @@ +

This version of the OpenSearch documentation is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.

\ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 2e4ae661b6..4b73419b3a 100755 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -142,6 +142,7 @@

Documentation

{% endif %} {% endunless %}
+ {% include warning.html %} {% if site.heading_anchors != false %} {% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %} {% else %}