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:23:13 -0700
commit61456313025e29fd4656654853e3468a928a6ca0 (patch)
treeb4beb105df0993b3b79b13af40c76b940e02bf82
parenta063287e74423d77257686319ccadbf4c139b9bc (diff)
downloadansible-61456313025e29fd4656654853e3468a928a6ca0.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>