Skip to content

Boilerplate for EOL/OOM notices. #1426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions shared/notices/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
This directory contains boilerplate notices for versions that have reached
the end of their maintenance period or end of life.
For the official Elastic product maintenance/EOL schedule, see https://www.elastic.co/support/eol.

To use, set the version and product name and save as page_header.html
alongside the book's index.asciidoc file.

Note that you can create a custom page header for any version of a book.
The header must be valid HTML and cannot contain comments.
10 changes: 10 additions & 0 deletions shared/notices/page_header-EOL.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<p>
<strong>WARNING</strong>: Version {version} of {product} has passed its
<a href="https://www.elastic.co/support/eol">EOL date</a>.
</p>
<p>
This documentation is no longer being maintained and may be removed.
If you are running this version, we strongly advise you to upgrade.
For the latest information, see the
<a href="../current/index.html">current release documentation</a>.
</p>
9 changes: 9 additions & 0 deletions shared/notices/page_header-OOM.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<p>
<strong>IMPORTANT</strong>: Version {version} of {product} has passed its
<a href="https://www.elastic.co/support/eol">maintenance date</a>.
</p>
<p>
This documentation is no longer being updated.
For the latest information, see the
<a href="../current/index.html">current release documentation</a>.
</p>