Software / code / prosody
Annotate
man/Makefile @ 13404:034c7af177f0
util.xtemplate: Test the each template function
It iterates over childtags, so a template like {foo|each{...}} would be
equivalent to root:childtags("foo"), while a deeper query needs the bit
that becomes arguments to :childtags as an argument to each, e.g.
{foo/bar|each(baz)} would behave like
root:get_child("foo"):get_child("bar"):childtags("baz")
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 16 Dec 2023 13:47:55 +0100 |
| parent | 7032:817c7b197ac7 |
| rev | line source |
|---|---|
|
7032
817c7b197ac7
man prosodyctl: Accidentally markdown
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 all: prosodyctl.man |
|
817c7b197ac7
man prosodyctl: Accidentally markdown
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 |
|
817c7b197ac7
man prosodyctl: Accidentally markdown
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 %.man: %.markdown |
|
817c7b197ac7
man prosodyctl: Accidentally markdown
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 pandoc -s -t man -o $@ $^ |