chore(doc-gen): improve github links to point to the correct tagged URL

Closes #1994
This commit is contained in:
Peter Bacon Darwin
2015-05-19 22:29:34 +01:00
parent 8811337622
commit a504fa835e
14 changed files with 347 additions and 140 deletions

View File

@ -1,9 +1,11 @@
{% include "lib/paramList.html" -%}
{% include "lib/githubLinks.html" -%}
{% extends 'layout/base.template.html' -%}
{% block body %}
<h1 class="function export">{$ doc.name $}{$ paramList(doc.parameters) $}</h1>
<p class="module">exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }</p>
<p class="module">exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }<br/>
defined in {$ githubViewLink(doc) $}</p>
<p>{$ doc.description | marked $}</p>
{% endblock %}