From 242dce6e05dfe7951df3a58647c6887d549368ac Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Thu, 21 Feb 2019 23:15:26 -0500 Subject: docs: YAMLifying some more function docs, improving the doc template Signed-off-by: Dave Henderson --- docs-src/content/functions/math.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs-src/content/functions/math.yml') diff --git a/docs-src/content/functions/math.yml b/docs-src/content/functions/math.yml index da9033a8..385b53d0 100644 --- a/docs-src/content/functions/math.yml +++ b/docs-src/content/functions/math.yml @@ -55,7 +55,7 @@ funcs: arguments: - name: num required: true - description: The input number. Will be converted to a `float64`, or `0` if not convertable + description: The input number. Will be converted to a `float64`, or `0` if not convertible examples: - | $ gomplate -i '{{ range (slice 5.1 42 "3.14" "0xFF" "NaN" "Inf" "-0") }}ceil {{ printf "%#v" . }} = {{ math.Ceil . }}{{"\n"}}{{ end }}' -- cgit v1.2.3