{% extends "!layout.html" %}

{% block rootrellink %}
    <li><a href="http://docs.dataflake.org/">docs.dataflake.org</a>{{ reldelim1 }}</li>
    <li><a href="{{ pathto(master_doc) }}">{{ project }} v{{ release }}</a>{{ reldelim1 }}</li>
{% endblock %}

{%- block sidebartoc %}
  <h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3>
  {{ toc }}
{%- endblock %}

{% block sidebarrel %}
  {%- if prev %}
    <h3>Previous topic</h3>
    <ul>
      <li><a href="{{ prev.link|e }}" title="{{ _('previous chapter') }}">{{ prev.title }}</a></li>
    </ul>
  {%- endif %}
  {%- if next %}
    <h3>Next topic</h3>
    <ul>
      <li><a href="{{ next.link|e }}" title="{{ _('next chapter') }}">{{ next.title }}</a></li>
    </ul>
  {%- endif %}

  <h3>Related links</h3>
  <ul>
    <li><a class="reference external" href="http://pypi.python.org/pypi/{{ project|e }}/">Project home</a></li>
    <li><a class="reference external" href="http://svn.dataflake.org/viewvc/{{ project|e }}/">Browse sources</a></li>
    <li><a class="reference external" href="https://bugs.launchpad.net/products.ldapconnector">Bug tracker</a></li>
    <li><a class="reference external" href="http://www.zetwork.com/">Commercial support</a></li>
  </ul>
{% endblock %}

{%- block sidebarsearch %}
  {{ super() }}

  <br/>
  <h3><a href="{{ project }}.pdf">Download as PDF</a></h3>
{% endblock %}
