Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

1.6 KB
Raw Blame
{% 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.
    #}
    <div class="admonition warning">
        <p class="first admonition-title">Warning</p>
        <p class="last">You are reading a <strong>development version</strong> of the Zulip documentation. These instructions may contain changes that are not yet present in a supported Zulip Server release.
        See <a class="reference external" href="https://zulip.readthedocs.io/en/stable/production/">documentation for the latest stable release</a>.</p>
    </div>
    {% elif pagename.split("/")[0] == "production" and release.endswith('+git') %}
    <div class="admonition warning">
        <p class="first admonition-title">Warning</p>
        <p class="last">You are reading a <strong>development version</strong> of the Zulip documentation. These instructions may contain changes that are not yet present in a supported Zulip Server release.
        See <a class="reference external" href="https://zulip.readthedocs.io/en/stable/{{ pagename }}.html">documentation for the latest stable release</a>.</p>
    </div>
    {% endif %}
    {{ super() }}
{% endblock %}