Add RTD heading to version panel

This commit is contained in:
Eric Holscher 2013-10-23 13:03:34 -07:00
parent 9826969a39
commit 48ebbe9e86

View File

@ -8,7 +8,7 @@
</span> </span>
<div class="rst-other-versions"> <div class="rst-other-versions">
<dl> <dl>
<dt>Version</dt> <dt>Versions</dt>
{% for slug, url in versions %} {% for slug, url in versions %}
<dd><a href="{{ url }}">{{ slug }}</a></dd> <dd><a href="{{ url }}">{{ slug }}</a></dd>
{% endfor %} {% endfor %}
@ -19,8 +19,18 @@
<dd><a href="{{ url }}">{{ type }}</a></dd> <dd><a href="{{ url }}">{{ type }}</a></dd>
{% endfor %} {% endfor %}
</dl> </dl>
<dl>
<dt>On Read the Docs</dt>
<dd>
<a href="//{{ PRODUCTION_DOMAIN }}/projects/{{ slug }}/?fromdocs={{ slug }}">Project Home</a>
</dd>
<dd>
<a href="//{{ PRODUCTION_DOMAIN }}/builds/{{ slug }}/?fromdocs={{ slug }}">Builds</a>
</dd>
</dl>
<hr/> <hr/>
Free document hosting provided by <a href="http://www.readthedocs.org">Read the Docs</a>. Free document hosting provided by <a href="http://www.readthedocs.org">Read the Docs</a>.
</div> </div>
</div> </div>
{% endif %} {% endif %}