api-builder: add breadcrumbs links

This commit is contained in:
Peter Bacon Darwin 2015-11-13 14:22:17 +00:00
parent 244e5673ab
commit 10b87e8017
7 changed files with 7 additions and 16 deletions

View File

@ -10,10 +10,6 @@ h2(class="{$ doc.docType $} export")
code. code.
export {$ doc.docType $} {$ doc.name $} export {$ doc.docType $} {$ doc.name $}
p.location-badge.
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
defined in {$ githubViewLink(doc) $}
:marked :marked
{%- if doc.notYetDocumented %} {%- if doc.notYetDocumented %}
*Not Yet Documented* *Not Yet Documented*

View File

@ -10,10 +10,6 @@ include ../../_util-fns
code. code.
export {$ doc.name $}{$ paramList(doc.parameters) | indent(8, true) | trim $}{$ returnType(doc.returnType) $} export {$ doc.name $}{$ paramList(doc.parameters) | indent(8, true) | trim $}{$ returnType(doc.returnType) $}
p.location-badge.
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
defined in {$ githubViewLink(doc) $}
:marked :marked
{%- if doc.notYetDocumented %} {%- if doc.notYetDocumented %}
*Not Yet Documented* *Not Yet Documented*

View File

@ -1 +1,5 @@
{% include 'layout/breadcrumbs.html' %}
p.location-badge.
defined in {$ githubViewLink(doc) $}
{% block body %}{% endblock %} {% block body %}{% endblock %}

View File

@ -0,0 +1,3 @@
<div class="breadcrumbs">
<a href=".."><code>angular2</code></a>{% if doc.moduleDoc %}&nbsp;&gt;&nbsp;{@link {$ doc.moduleDoc.id $}}{% endif %}
</div>

View File

@ -2,8 +2,6 @@
{% extends 'layout/base.template.html' -%} {% extends 'layout/base.template.html' -%}
{% block body -%} {% block body -%}
include ../../_util-fns include ../../_util-fns
p.location-badge.
defined in {$ githubViewLink(doc) $}
ul ul
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data

View File

@ -3,8 +3,6 @@
{% block body %} {% block body %}
<h1>{$ doc.name $} <span class="type">type alias</span></h1> <h1>{$ doc.name $} <span class="type">type alias</span></h1>
<p class="module">exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }<br/>
defined in {$ githubViewLink(doc) $}</p>
<p>{$ doc.description | marked $}</p> <p>{$ doc.description | marked $}</p>
{% endblock %} {% endblock %}

View File

@ -10,10 +10,6 @@ include ../../_util-fns
code. code.
export {$ doc.name $}{$ returnType(doc.returnType) $} export {$ doc.name $}{$ returnType(doc.returnType) $}
p.location-badge.
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
defined in {$ githubViewLink(doc) $}
:marked :marked
{%- if doc.notYetDocumented %} {%- if doc.notYetDocumented %}
*Not Yet Documented* *Not Yet Documented*