This renames the doc task to apidoc. The apidoc delegates to jsdoc3 currently. We will have additional documentation that is not built by jsdoc3. It makes sense to reserve the more general 'doc' name for building all documentation (not just apidoc).
11 lines
257 B
Cheetah
11 lines
257 B
Cheetah
<?js
|
|
var data = obj;
|
|
data.forEach(function(example) {
|
|
if (example.caption) {
|
|
?>
|
|
<p class="code-caption"><?js= example.caption ?></p>
|
|
<?js } ?>
|
|
<pre class="prettyprint"><code><?js= example.code ?></code></pre>
|
|
<?js
|
|
});
|
|
?> |