diff --git a/website/content/docs/templates/hcl_templates/functions/conversion/can.mdx b/website/content/docs/templates/hcl_templates/functions/conversion/can.mdx index 4272cbbcb..9a1d34bba 100644 --- a/website/content/docs/templates/hcl_templates/functions/conversion/can.mdx +++ b/website/content/docs/templates/hcl_templates/functions/conversion/can.mdx @@ -1,8 +1,8 @@ --- -page_title: can - Functions - Configuration Language +page_title: can function reference description: |- - The can function tries to evaluate an expression given as an argument and - indicates whether the evaluation succeeded. + The `can` function evaluates an expression as an argument and + indicates whether the evaluation succeeded. Learn how to us the `can` function in Packer templates. --- # `can` Function diff --git a/website/content/docs/templates/hcl_templates/functions/conversion/convert.mdx b/website/content/docs/templates/hcl_templates/functions/conversion/convert.mdx index 5cb90d157..e65b8218e 100644 --- a/website/content/docs/templates/hcl_templates/functions/conversion/convert.mdx +++ b/website/content/docs/templates/hcl_templates/functions/conversion/convert.mdx @@ -1,6 +1,6 @@ --- -page_title: convert - Functions - Configuration Language -description: 'The convert function converts a value or an expression to a given type. ' +page_title: convert function reference +description: The `convert` function converts a value or an expression to a given type. Learn how to use the `convert` function in Packer templates. --- # `convert` Function diff --git a/website/content/docs/templates/hcl_templates/functions/conversion/try.mdx b/website/content/docs/templates/hcl_templates/functions/conversion/try.mdx index a34e6e293..fceaf4a61 100644 --- a/website/content/docs/templates/hcl_templates/functions/conversion/try.mdx +++ b/website/content/docs/templates/hcl_templates/functions/conversion/try.mdx @@ -1,9 +1,7 @@ --- -page_title: try - Functions - Configuration Language +page_title: try function reference description: |- - The try function tries to evaluate a sequence of expressions given as - arguments and returns the result of the first one that does not produce - any errors. + The `try` function evaluate a sequence of expressions and returns the result of the first expression that does not produce any errors. Learn how to use the `try` function in Packer templates. --- # `try` Function diff --git a/website/content/docs/templates/hcl_templates/functions/numeric/abs.mdx b/website/content/docs/templates/hcl_templates/functions/numeric/abs.mdx index 023b41557..aa80d9a1d 100644 --- a/website/content/docs/templates/hcl_templates/functions/numeric/abs.mdx +++ b/website/content/docs/templates/hcl_templates/functions/numeric/abs.mdx @@ -1,6 +1,6 @@ --- -page_title: abs - Functions - Configuration Language -description: The abs function returns the absolute value of the given number. +page_title: abs function reference +description: The `abs` function returns the absolute value of the given number. Learn how to use the `abs` function in Packer templates. --- # `abs` Function diff --git a/website/content/docs/templates/hcl_templates/functions/numeric/ceil.mdx b/website/content/docs/templates/hcl_templates/functions/numeric/ceil.mdx index 2c3e9a70f..e954977e1 100644 --- a/website/content/docs/templates/hcl_templates/functions/numeric/ceil.mdx +++ b/website/content/docs/templates/hcl_templates/functions/numeric/ceil.mdx @@ -1,8 +1,8 @@ --- -page_title: ceil - Functions - Configuration Language +page_title: ceil function reference description: |- - The ceil function returns the closest whole number greater than or equal to - the given value. + The `ceil` function returns the closest whole number greater than or equal to + the given value. Learn how to use the `ceil` function in Packer templates. --- # `ceil` Function diff --git a/website/content/docs/templates/hcl_templates/functions/numeric/floor.mdx b/website/content/docs/templates/hcl_templates/functions/numeric/floor.mdx index 66faf73f2..b61e07f5e 100644 --- a/website/content/docs/templates/hcl_templates/functions/numeric/floor.mdx +++ b/website/content/docs/templates/hcl_templates/functions/numeric/floor.mdx @@ -1,8 +1,8 @@ --- -page_title: floor - Functions - Configuration Language +page_title: floor function reference description: |- - The floor function returns the closest whole number less than or equal to - the given value. + The `floor` function returns the closest whole number less than or equal to + the given value. Learn how to use the `floor` function in Packer templates. --- # `floor` Function diff --git a/website/content/docs/templates/hcl_templates/functions/numeric/log.mdx b/website/content/docs/templates/hcl_templates/functions/numeric/log.mdx index c63952e05..c21374d0d 100644 --- a/website/content/docs/templates/hcl_templates/functions/numeric/log.mdx +++ b/website/content/docs/templates/hcl_templates/functions/numeric/log.mdx @@ -1,6 +1,6 @@ --- -page_title: log - Functions - Configuration Language -description: The log function returns the logarithm of a given number in a given base. +page_title: log function reference +description: The `log` function returns the logarithm of a given number in a given base. Learn how to use the `log` function in Packer templates. --- # `log` Function diff --git a/website/content/docs/templates/hcl_templates/functions/numeric/max.mdx b/website/content/docs/templates/hcl_templates/functions/numeric/max.mdx index 36f8ac255..363df6e24 100644 --- a/website/content/docs/templates/hcl_templates/functions/numeric/max.mdx +++ b/website/content/docs/templates/hcl_templates/functions/numeric/max.mdx @@ -1,6 +1,6 @@ --- -page_title: max - Functions - Configuration Language -description: The max function takes one or more numbers and returns the greatest number. +page_title: max function reference +description: The `max` function return the largest number from the given ste of one or more numbers. Learn how to use the `max` function in Packer templates. --- # `max` Function diff --git a/website/content/docs/templates/hcl_templates/functions/numeric/min.mdx b/website/content/docs/templates/hcl_templates/functions/numeric/min.mdx index 64e697143..31a8b2b47 100644 --- a/website/content/docs/templates/hcl_templates/functions/numeric/min.mdx +++ b/website/content/docs/templates/hcl_templates/functions/numeric/min.mdx @@ -1,6 +1,6 @@ --- -page_title: min - Functions - Configuration Language -description: The min function takes one or more numbers and returns the smallest number. +page_title: min function reference +description: The `min` function returns the smallest number in a set of one or more numbers. Learn how to use the `min` function in Packer templates. --- # `min` Function diff --git a/website/content/docs/templates/hcl_templates/functions/numeric/parseint.mdx b/website/content/docs/templates/hcl_templates/functions/numeric/parseint.mdx index 3b8ac2411..e997a7717 100644 --- a/website/content/docs/templates/hcl_templates/functions/numeric/parseint.mdx +++ b/website/content/docs/templates/hcl_templates/functions/numeric/parseint.mdx @@ -1,8 +1,8 @@ --- -page_title: parseint - Functions - Configuration Language +page_title: parseint function reference description: >- - The parseint function parses the given string as a representation of an - integer. + The `parseint` function parses the given string as a representation of an + integer. Learn how to use the `parseint` function in Packer templates. --- # `parseint` Function diff --git a/website/content/docs/templates/hcl_templates/functions/numeric/pow.mdx b/website/content/docs/templates/hcl_templates/functions/numeric/pow.mdx index e8702cba9..63743d62e 100644 --- a/website/content/docs/templates/hcl_templates/functions/numeric/pow.mdx +++ b/website/content/docs/templates/hcl_templates/functions/numeric/pow.mdx @@ -1,6 +1,6 @@ --- -page_title: pow - Functions - Configuration Language -description: The pow function raises a number to a power. +page_title: pow function reference +description: The `pow` function raises a number to a power. Learn how to use the `pow` function in Packer templates. --- # `pow` Function diff --git a/website/content/docs/templates/hcl_templates/functions/numeric/signum.mdx b/website/content/docs/templates/hcl_templates/functions/numeric/signum.mdx index 1caf69883..17bf2323e 100644 --- a/website/content/docs/templates/hcl_templates/functions/numeric/signum.mdx +++ b/website/content/docs/templates/hcl_templates/functions/numeric/signum.mdx @@ -1,6 +1,6 @@ --- -page_title: signum - Functions - Configuration Language -description: The signum function determines the sign of a number. +page_title: signum function reference +description: The `signum` function determines the sign of a number. Learn how to use the `signum` function in Packer templates. --- # `signum` Function