Files
velero/site/_includes/version-warning.html
Steve Kriss b24e940399 V1.1 docs updates (#1704)
* remove docs header about project rename

Signed-off-by: Steve Kriss <krisss@vmware.com>

* remove Upgrade to 1.0 page from master TOC

Signed-off-by: Steve Kriss <krisss@vmware.com>

* standardize TOC titles

Signed-off-by: Steve Kriss <krisss@vmware.com>

* add backup/restore docs for undocumented features

Signed-off-by: Steve Kriss <krisss@vmware.com>
2019-07-29 14:37:18 -07:00

27 lines
1.2 KiB
HTML

{% if page.version != site.latest %}
<div class="alert alert-primary" role="alert">
{% if page.version == 'master' %}
<p>
<i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
This is the documentation for the latest development version of Velero. Both code and docs may be
unstable, and these docs are not guaranteed to be up to date or correct. See the
<a href="{{latest_url}}">latest version</a>.
</p>
{% elsif page.version contains 'beta' or page.version contains 'alpha' or page.version contains 'rc' %}
<p>
<i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
This is the documentation for the latest pre-production version of Velero. Both code and docs may be
unstable, and these docs only a best-guess effort at being up to date or correct. See the
<a href="{{latest_url}}">latest version</a>.
</p>
{% else %}
<p>
<i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
Documentation for version {{ page.version }} is no longer actively maintained.
The version you are currently viewing is a static snapshot.
For up-to-date documentation, see the <a href="{{latest_url}}">latest version</a>.
</p>
{% endif %}
</div>
{% endif %}