Skip to content

Commit

Permalink
Adds warning to 1.0 (#2626)
Browse files Browse the repository at this point in the history
* Adds warning to 1.0

Signed-off-by: Fanit Kolchina <[email protected]>

* Rewords warning

Signed-off-by: Fanit Kolchina <[email protected]>

---------

Signed-off-by: Fanit Kolchina <[email protected]>
  • Loading branch information
kolchfa-aws authored Feb 3, 2023
1 parent b0295f9 commit adf1da3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions _includes/warning.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p class="warning">This version of the OpenSearch documentation is no longer maintained. For the latest version, see the <a href="{{ site.url }}/docs{{ page.url }}">current documentation</a>. For information about OpenSearch version maintenance, see <a href="https://opensearch.org/releases.html">Release Schedule and Maintenance Policy</a>.</p>
1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ <h1><a href="#">Documentation</a></h1>
{% endif %}
{% endunless %}
<div id="main-content" class="main-content" role="main">
{% include warning.html %}
{% if site.heading_anchors != false %}
{% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %}
{% else %}
Expand Down

0 comments on commit adf1da3

Please sign in to comment.