From 26e207d3445b2a6dae55f2a9c6583699e874d724 Mon Sep 17 00:00:00 2001 From: Alicia Cozine <879121+acozine@users.noreply.github.com> Date: Tue, 5 Jan 2021 16:25:12 -0600 Subject: [PATCH] remove doc survey banner (#73119) (#73125) (cherry picked from commit 0a3c5d9dcc5d8b17ba73634b7d5398ba22fa3c5e) Co-authored-by: Sandra McCann --- .../_themes/sphinx_rtd_theme/ansible_banner.html | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html b/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html index e3b6a57534b..94c3883d7ab 100644 --- a/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html +++ b/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html @@ -10,13 +10,9 @@ document.write(''); } {% if (not READTHEDOCS) and (available_versions is defined) %} - // Create a banner if we're not the latest version + // Create a banner current_url_path = window.location.pathname; if (startsWith(current_url_path, "/ansible/latest/") || startsWith(current_url_path, "/ansible/{{ latest_version }}/")) { - /* temp banner to advertise survey */ - document.write(''); } else if (startsWith(current_url_path, "/ansible/devel/")) { - /* temp banner to advertise survey */ + /* temp banner to advertise survey document.write(''); + document.write(''); */ document.write('