{#-
The version banner. The theme reveals it on every version without the `latest`
alias (extra.version.default): the dev preview of main, older releases, and
prereleases. The script names the dev preview as such and hides the link to the
latest release until this language has one.
-#}
{% extends "base.html" %}
{% block outdated %}
{%- if config.theme.language == "zh" %}
你正在查看旧版本或预发布版本的文档。
你正在查看 main 分支的开发版文档,其中可能包含尚未发布的变更。
前往最新发布版本。
{%- else %}
You're viewing the documentation for an older release or a prerelease.
You're viewing the development documentation from main, which can
describe unreleased changes.
Go to the latest release.
{%- endif %}
{% endblock %}
{% block scripts %}
{{ super() }}
{% endblock %}