Back to Zulip

Layout

docs/_templates/layout.html

12.11.2 KB
Original Source

{% extends "!layout.html" %} {% block document %} {# # This allows us to insert a warning that appears only on the development # version e.g. to say that something is likely to have changed. # For more info see: https://www.sphinx-doc.org/en/master/templating.html #} {% if pagename in ["production/docker"] and release.endswith('+git') %} {# # Pages added since the most recent stable release should be listed # above so the development-version warning falls back to the production # index instead of a not-yet-existent stable URL. Remove entries after # each release. #}

Warning

You are reading a development version of the Zulip documentation. These instructions may contain changes that are not yet present in a supported Zulip Server release. See documentation for the latest stable release.

{% elif pagename.split("/")[0] == "production" and release.endswith('+git') %}

Warning

You are reading a development version of the Zulip documentation. These instructions may contain changes that are not yet present in a supported Zulip Server release. See documentation for the latest stable release.

{% endif %} {{ super() }} {% endblock %}