diff --git a/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html b/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html index 1a2b998f229..6684a0313c4 100644 --- a/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html +++ b/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html @@ -12,7 +12,13 @@ {% if (not READTHEDOCS) and (available_versions is defined) %} // Create a banner current_url_path = window.location.pathname; - if (startsWith(current_url_path, "/ansible/latest/") || startsWith(current_url_path, "/ansible/{{ latest_version }}/")) { + + if (startsWith(current_url_path, "/ansible-core/")) { + document.write(''); + + } else if (startsWith(current_url_path, "/ansible/latest/") || startsWith(current_url_path, "/ansible/{{ latest_version }}/")) { document.write('');