{#- 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" %} 你正在查看旧版本或预发布版本的文档。 前往最新发布版本。 {%- else %} You're viewing the documentation for an older release or a prerelease. Go to the latest release. {%- endif %} {% endblock %} {% block scripts %} {{ super() }} {% endblock %}