{% assign version = page.url | remove_first: "/" | split: "/" | first %} {% assign upgrading = false %} {% if version == '' or version == 'releases' or version == 'upgrading' %} {% assign version = site.data.project.releases.current.version %} {% assign upgrading = true %} {% endif %} {% capture version_home %}/{{ version }}/{% endcapture %} {{ page.title }} - {{ site.data.project.title }}

Versions

{% if upgrading == false %} {% for section in site.data.menu.version[version] %} {% endfor %} {% else %} {% for section in site.data.menu.upgrading %}

{{ section[0] }}

{% endfor %} {% endif %}
{% if version == site.data.project.releases.next.version %}

This is the documentation for the upcoming version {{ version }}. This is a work in progress

{% endif %} {% if version == site.data.project.releases.previous.version %}

This is the documentation for version {{ version }} which will be supported until {{ site.data.project.releases.previous.supported_until }}. Please consider upgrading your code to the latest stable version

{% endif %} {% if version == site.data.project.releases.legacy.version %}

This is the documentation for the unsupported version {{ version }}. Please consider upgrading your code to the latest stable version

{% endif %} {{ content }}