summaryrefslogtreecommitdiff
path: root/support/jsdoc/theme/tmpl/tutorial.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'support/jsdoc/theme/tmpl/tutorial.tmpl')
-rw-r--r--support/jsdoc/theme/tmpl/tutorial.tmpl19
1 files changed, 19 insertions, 0 deletions
diff --git a/support/jsdoc/theme/tmpl/tutorial.tmpl b/support/jsdoc/theme/tmpl/tutorial.tmpl
new file mode 100644
index 0000000..88a0ad5
--- /dev/null
+++ b/support/jsdoc/theme/tmpl/tutorial.tmpl
@@ -0,0 +1,19 @@
+<section>
+
+<header>
+ <?js if (children.length > 0) { ?>
+ <ul><?js
+ var self = this;
+ children.forEach(function(t) { ?>
+ <li><?js= self.tutoriallink(t.name) ?></li>
+ <?js }); ?></ul>
+ <?js } ?>
+
+ <h2><?js= header ?></h2>
+</header>
+
+<article>
+ <?js= content ?>
+</article>
+
+</section>