api-builder: add breadcrumbs links
This commit is contained in:
parent
244e5673ab
commit
10b87e8017
|
@ -10,10 +10,6 @@ h2(class="{$ doc.docType $} export")
|
|||
code.
|
||||
export {$ doc.docType $} {$ doc.name $}
|
||||
|
||||
p.location-badge.
|
||||
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
|
||||
defined in {$ githubViewLink(doc) $}
|
||||
|
||||
:marked
|
||||
{%- if doc.notYetDocumented %}
|
||||
*Not Yet Documented*
|
||||
|
|
|
@ -10,10 +10,6 @@ include ../../_util-fns
|
|||
code.
|
||||
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
|
||||
{%- if doc.notYetDocumented %}
|
||||
*Not Yet Documented*
|
||||
|
|
|
@ -1 +1,5 @@
|
|||
{% include 'layout/breadcrumbs.html' %}
|
||||
p.location-badge.
|
||||
defined in {$ githubViewLink(doc) $}
|
||||
|
||||
{% block body %}{% endblock %}
|
|
@ -0,0 +1,3 @@
|
|||
<div class="breadcrumbs">
|
||||
<a href=".."><code>angular2</code></a>{% if doc.moduleDoc %} > {@link {$ doc.moduleDoc.id $}}{% endif %}
|
||||
</div>
|
|
@ -2,8 +2,6 @@
|
|||
{% extends 'layout/base.template.html' -%}
|
||||
{% block body -%}
|
||||
include ../../_util-fns
|
||||
p.location-badge.
|
||||
defined in {$ githubViewLink(doc) $}
|
||||
|
||||
ul
|
||||
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
{% block body %}
|
||||
<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>
|
||||
|
||||
{% endblock %}
|
|
@ -10,10 +10,6 @@ include ../../_util-fns
|
|||
code.
|
||||
export {$ doc.name $}{$ returnType(doc.returnType) $}
|
||||
|
||||
p.location-badge.
|
||||
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
|
||||
defined in {$ githubViewLink(doc) $}
|
||||
|
||||
:marked
|
||||
{%- if doc.notYetDocumented %}
|
||||
*Not Yet Documented*
|
||||
|
|
Loading…
Reference in New Issue