From b5aea1dd35f5d2d4301b96e4876985d418997e34 Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Mon, 25 Sep 2023 15:25:03 -0400 Subject: [PATCH] Add warning to 2.9 (#5087) 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 32ff1130c4..358da75e29 100755 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -168,6 +168,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 %}