summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlicia Cozine <879121+acozine@users.noreply.github.com>2021-04-30 11:06:38 -0500
committerGitHub <noreply@github.com>2021-04-30 11:06:38 -0500
commit4565a3893da010a345c631618056fb9e0f119bfe (patch)
tree91377b09b76abd1fab11752d01eeb4ab8699c2b5
parent8d0181b5cd4e92105968bb5d13f19b22522a57db (diff)
downloadansible-stable-2.8.tar.gz
Eol the 2.8 docs (#74513)stable-2.8
* adds EOL banner, removes versions * remove version-switcher capability Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
-rw-r--r--docs/docsite/_themes/sphinx_rtd_theme/layout.html3
-rw-r--r--docs/docsite/rst/conf.py4
2 files changed, 3 insertions, 4 deletions
diff --git a/docs/docsite/_themes/sphinx_rtd_theme/layout.html b/docs/docsite/_themes/sphinx_rtd_theme/layout.html
index f7ed552b37..15a08ddc6b 100644
--- a/docs/docsite/_themes/sphinx_rtd_theme/layout.html
+++ b/docs/docsite/_themes/sphinx_rtd_theme/layout.html
@@ -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">
diff --git a/docs/docsite/rst/conf.py b/docs/docsite/rst/conf.py
index 96e75c05fd..3d1634516a 100644
--- a/docs/docsite/rst/conf.py
+++ b/docs/docsite/rst/conf.py
@@ -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
),
}