8d03c2ddc4
* Fix issue with version 3 in docs version list (#74089) Previously would subsitute the "3" in "s3" instead of the version location in the URL (cherry picked from commit325ccf22fe
) * corrected epmhasis line (#74254) need to be careful when adding lines as you create a different offset (cherry picked from commit7b39ee361d
) * correct how to install Docker SDK for Python (#74288) * docs: correct guide for the latest Docker SDK for Python Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Sandra McCann <samccann@redhat.com> Co-authored-by: Daeseok Youn <daeseok.youn@navercorp.com> Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com> (cherry picked from commit9369bd6ca1
) * Provide results to examples (#73984) (cherry picked from commit99a2b5f300
) * remove deprecated ansible.module_utils._text from documentation (#73211) According to comment in ansible.module_utils._text it is deprecated and should not be used. This is now reflected in the documentation. (cherry picked from commit5e5bfa8116
) * Update playbooks_filters.rst (#74242) ##### SUMMARY Make the `random` filter description more clear. (cherry picked from commit5f391a72ee
) * Docs: Fix k8s_config_resource_name YAML example (#74129) The `name` key should be beneath `metadata`: (cherry picked from commitc9c84594d8
) * Update lookup.rst (#73716) Document that users must pass `allow_unsafe=True` as an option in the lookup to allow templating, with a note about security implications. Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com> Co-authored-by: Sandra McCann <samccann@redhat.com> (cherry picked from commitc0cc574e65
) * vmware: Add a note about known issue (#73273) Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> Co-authored-by: Sandra McCann <samccann@redhat.com> Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com> (cherry picked from commit6e56e72d99
) Co-authored-by: Scott Sinclair <252082+pwae@users.noreply.github.com> Co-authored-by: Brian Coca <bcoca@users.noreply.github.com> Co-authored-by: daeseokyoun <daeseok.youn@gmail.com> Co-authored-by: Baptiste Mille-Mathias <baptiste.millemathias@gmail.com> Co-authored-by: schurzi <github@drachen-server.de> Co-authored-by: yuri <1969yuri1969@gmail.com> Co-authored-by: ml <6209465+ml-@users.noreply.github.com> Co-authored-by: sry9681 <sry9681@users.noreply.github.com> Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
30 lines
1.2 KiB
HTML
30 lines
1.2 KiB
HTML
<!--- Based on https://github.com/rtfd/sphinx_rtd_theme/pull/438/files -->
|
|
{# Creates dropdown version selection in the top-left navigation. #}
|
|
<div class="version">
|
|
{% if (not READTHEDOCS) and (available_versions is defined) %}
|
|
<div class="version-dropdown">
|
|
<select class="version-list" id="version-list" onchange="javascript:location.href = this.value;">
|
|
<script> x = document.getElementById("version-list"); </script>
|
|
{% for slug in available_versions %}
|
|
<script>
|
|
current_url = window.location.href;
|
|
option = document.createElement("option");
|
|
option.text = "{{ slug }}";
|
|
if ( "{{ slug }}" == "{{ current_version }}" ) {
|
|
option.selected = true;
|
|
}
|
|
if (current_url.search("/{{ current_version }}/") > -1) {
|
|
option.value = current_url.replace("/{{ current_version }}/","/{{ slug }}/");
|
|
} else {
|
|
option.value = current_url.replace("/latest/","/{{ slug }}/");
|
|
}
|
|
x.add(option);
|
|
</script>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
{% else %}
|
|
{{ nav_version }}
|
|
{% endif %}
|
|
</div>
|