api-builder: add breadcrumbs links
This commit is contained in:
parent
244e5673ab
commit
10b87e8017
|
@ -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*
|
||||||
|
|
|
@ -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*
|
||||||
|
|
|
@ -1 +1,5 @@
|
||||||
|
{% include 'layout/breadcrumbs.html' %}
|
||||||
|
p.location-badge.
|
||||||
|
defined in {$ githubViewLink(doc) $}
|
||||||
|
|
||||||
{% block body %}{% endblock %}
|
{% 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' -%}
|
{% 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
|
||||||
|
|
|
@ -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 %}
|
|
@ -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*
|
||||||
|
|
Loading…
Reference in New Issue