summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2018-07-26 21:13:08 -0400
committerDave Henderson <dhenderson@gmail.com>2018-07-26 21:51:29 -0400
commit90365c708baada8ae1dd136dcca62118873e5c0f (patch)
tree67998db621695c795b068906d94a959138b21518 /Makefile
parentb0de7eac46bd522ca4784548824b7e370058a987 (diff)
Doc generation
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ce445dd8..4eb33262 100644
--- a/Makefile
+++ b/Makefile
@@ -102,6 +102,9 @@ docs/themes/hugo-material-docs:
gen-docs: docs/themes/hugo-material-docs
cd docs/; hugo
+docs/content/functions/%.md: docs-src/content/functions/%.yml docs-src/content/functions/func_doc.md.tmpl
+ gomplate -d data=$< -f docs-src/content/functions/func_doc.md.tmpl -o $@
+
# this target doesn't usually get used - it's mostly here as a reminder to myself
# hint: make sure CLOUDCONVERT_API_KEY is set ;)
gomplate.png: gomplate.svg