{% extends '!layout.html' %}

{% block header %}

    {% if version_data["rtd"] == "latest" %}
    <div class="admonition versionwarning">
        <p class="admonition-title">Warning</p>
        <p>
            You are reading the docs for the (unreleased) master branch.
            See also the docs for <a class="reference external" href="/">the most recent stable release</a>.
        </p>
    </div>
    {% elif version_data["pre"] %}
    <div class="admonition versionwarning">
        <p class="admonition-title">Warning</p>
        <p>
            You are reading the docs for a pre-release.
            See also the docs for <a class="reference external" href="/">the most recent stable release</a>.
        </p>
    </div>
    {% endif %}

{% endblock %}

{% extends '!layout.html' %}

{% block header %}
<!--
    {% if version_data["rtd"] == "latest" %}
    <div class="admonition versionwarning">
        <p class="admonition-title">Warning</p>
        <p>
            You are reading the docs for the (unreleased) master branch.
            See also the docs for <a class="reference external" href="/">the most recent stable release</a>.
        </p>
    </div>
    {% elif version_data["pre"] %}
    <div class="admonition versionwarning">
        <p class="admonition-title">Warning</p>
        <p>
            You are reading the docs for a pre-release.
            See also the docs for <a class="reference external" href="/">the most recent stable release</a>.
        </p>
    </div>
    {% endif %}
-->
{% endblock %}

Remove docs warning because rtd does that already
Remove docs warning because rtd does that already
