From 76dd3a82a506b3761c901aa461c221bcf94e45e8 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Wed, 23 Nov 2022 20:53:54 +0100 Subject: [PATCH] Follow-up: improve function signatures (#1914) (#1916) --- content/en/functions/slicestr.md | 2 +- content/en/functions/truncate.md | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/content/en/functions/slicestr.md b/content/en/functions/slicestr.md index 45da68280..8164f2720 100644 --- a/content/en/functions/slicestr.md +++ b/content/en/functions/slicestr.md @@ -12,7 +12,7 @@ menu: keywords: [strings] signature: - "slicestr STRING START [END]" - - "strings.SliceStr STRING START [END]" + - "strings.SliceString STRING START [END]" workson: [] hugoversion: relatedfuncs: [] diff --git a/content/en/functions/truncate.md b/content/en/functions/truncate.md index 9fb82734c..54cfb3612 100644 --- a/content/en/functions/truncate.md +++ b/content/en/functions/truncate.md @@ -11,10 +11,8 @@ menu: parent: "functions" keywords: [strings] signature: - - "truncate SIZE INPUT" - - "strings.Truncate SIZE ELLIPSIS INPUT" - - "truncate SIZE INPUT" - - "strings.Truncate SIZE ELLIPSIS INPUT" + - "truncate SIZE [ELLIPSIS] INPUT" + - "strings.Truncate SIZE [ELLIPSIS] INPUT" workson: [] hugoversion: 19 relatedfuncs: []