summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra McCann <samccann@redhat.com>2019-07-18 15:15:43 -0400
committerToshio Kuratomi <a.badger@gmail.com>2019-08-07 07:26:16 -0700
commitfcf8dc8d0cb5cb835030eeca65640ff05923c376 (patch)
tree439839aefabfcb6067d7101bcae3df6a0aa1becc
parent1a9f703309a71a40ba7a9890415eb97282178ac9 (diff)
downloadansible-fcf8dc8d0cb5cb835030eeca65640ff05923c376.tar.gz
add eol banner (#59254)
(cherry picked from commit 00699735e9afcb8f03756517e25e3c6465d6368b)
-rw-r--r--docs/docsite/_themes/sphinx_rtd_theme/ansible_eol_banner.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/docsite/_themes/sphinx_rtd_theme/ansible_eol_banner.html b/docs/docsite/_themes/sphinx_rtd_theme/ansible_eol_banner.html
new file mode 100644
index 0000000000..6f19d2c2e1
--- /dev/null
+++ b/docs/docsite/_themes/sphinx_rtd_theme/ansible_eol_banner.html
@@ -0,0 +1,4 @@
+{# Creates a banner at the top of the page for EOL versions. #}
+<div id='banner' class='Admonition caution'>
+ <p>You are reading an unmaintained version of the Ansible documentation. Unmaintained Ansible versions can contain unfixed security vulnerabilities (CVE). Please upgrade to a maintained version. See <a href="https://docs.ansible.com/ansible/latest/index.html">the latest Ansible documentation</a>.</p>
+</div>