Eol the 2.8 docs (#74513)

* adds EOL banner, removes versions

* remove version-switcher capability

Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
stable-2.8
Alicia Cozine 4 years ago committed by GitHub
parent 8d0181b5cd
commit 4565a3893d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -143,7 +143,6 @@
{% endif %}
{% endif %}
{% include "ansible_versions.html" %}
{% include "searchbox.html" %}
{% endblock %}
@ -195,7 +194,7 @@
<div class="rst-content">
{% endif %}
{% include "breadcrumbs.html" %}
{% include "ansible_banner.html" %}
{% include "ansible_eol_banner.html" %}
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
{%- block document %}
<div itemprop="articleBody">

@ -146,9 +146,9 @@ html_context = {
'github_version': 'devel/docs/docsite/rst/',
'github_module_version': 'devel/lib/ansible/modules/',
'current_version': version,
'latest_version': '2.10',
'latest_version': '3',
# list specifically out of order to make latest work
'available_versions': ('latest', '2.9', '2.9_ja', '2.8', 'devel'),
'available_versions': ('latest'),
'css_files': ('_static/ansible.css', # overrides to the standard theme
),
}

Loading…
Cancel
Save