{% extends "repo_master.html" %}

{% block title %}Docs - {{ repo.name }}{% endblock %}
{% set tag = "home" %}


{% block repo %}

<iframe id="docframe" src="{{ config['DOC_APP_URL'] + url_for('.view_repo',
                username=username, repo=repo.name, filename=filename) }}"
    frameborder="0" style="min-height:700px;width:100%"
    onload="resize_iframe()">
  <p>Your browser does not support iframe, please visit
  <a href="{{ config['DOC_APP_URL'] + url_for('.view_repo',
                username=username, repo=repo.name, filename=filename)
           }}">the documentation directly</a>
  </p>
</iframe>

{% endblock %}
