{% extends "base.html" %} {# Version banner — shows a warning when viewing "latest" (pre-release) or an older stable version. Driven by config.extra.docs_version and config.extra.primary_doc_version (both injected via DOCS_VERSION env var and zensical.toml). #} {% block announce %} {% set version = config.extra.docs_version %} {% set primary = config.extra.primary_doc_version %} {% set language = config.extra.docs_language %} {% if version != primary %} {% if version == "latest" %} You are reading the most recent documentation which may contain unreleased features. The latest release is {{ primary }}. {% else %} You are viewing documentation for an older version of pyinfra. The latest release is {{ primary }}. {% endif %} {% endif %} {% endblock %} {% block extrahead %} {{ super() }} {# JetBrains Mono self-hosted via pyinfra.com; @font-face lives in pyinfra.css #} {% endblock %} {# Plausible analytics #} {% block analytics %} {{ super() }} {% endblock %}