chore(dgeni): add anchor links to individual methods

This commit is contained in:
perry
2016-03-11 16:01:28 -06:00
parent 908ef9e4c4
commit 6ec68e207c

View File

@ -223,7 +223,7 @@ Improve this doc
<h2><a class="anchor" name="static-methods" href="#static-methods"></a>Static Methods</h2> <h2><a class="anchor" name="static-methods" href="#static-methods"></a>Static Methods</h2>
<@- for method in doc.statics @><@ if not method.internal @> <@- for method in doc.statics @><@ if not method.internal @>
<div id="<$ method.name $>"></div> <div id="<$ method.name $>"></div>
<h3><$ functionSyntax(method) $></h3> <h3><a class="anchor" name="<$ method.name $>" href="#<$ method.name $>"></a><$ functionSyntax(method) $></h3>
<$ method.description $> <$ method.description $>
@ -257,6 +257,7 @@ Improve this doc
<div id="<$ method.name $>"></div> <div id="<$ method.name $>"></div>
<h3> <h3>
<a class="anchor" name="<$ method.name $>" href="#<$ method.name $>"></a>
<$ functionSyntax(method) $> <$ functionSyntax(method) $>
</h3> </h3>