aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-02-26 15:35:11 -0800
committerAlex Yatskov <alex@foosoft.net>2017-02-26 15:35:11 -0800
commit4ec5d0128865267a3f6edfd9921bdca80d98162a (patch)
tree93c1a6fb0e377b0ccb9fa5a90294e3e9d64fe98c
parent9233c3d10d8cfe10d6ec4add2ffab9e574aa856d (diff)
adding docs for mozilla review
-rwxr-xr-xbuild_tmpl.sh2
-rw-r--r--tmpl/building.md5
2 files changed, 6 insertions, 1 deletions
diff --git a/build_tmpl.sh b/build_tmpl.sh
index be8362a6..e91f8de8 100755
--- a/build_tmpl.sh
+++ b/build_tmpl.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-handlebars tmpl/* -f ext/bg/js/templates.js
+handlebars tmpl/*.html -f ext/bg/js/templates.js
diff --git a/tmpl/building.md b/tmpl/building.md
new file mode 100644
index 00000000..1ca1a5c5
--- /dev/null
+++ b/tmpl/building.md
@@ -0,0 +1,5 @@
+# Building Handlebars Templates #
+
+This directory contains templates which need to be processed by the [Handlebars](http://handlebarsjs.com/) templating
+engine. Make sure you have this [Node.js](https://nodejs.org/en/) module installed and execute `handlebars *.html -f
+templates.js` to generate compiled template definitions.