Use consistent signatures

This commit is contained in:
Joe Mooring
2023-11-07 08:12:13 -08:00
committed by Joe Mooring
parent 2af2470b57
commit f46d313088
5 changed files with 12 additions and 6 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ action:
- functions/collections/Slice
returnType: any
signatures:
- COLLECTION | collections.Append ELEMENT [ELEMENT...]
- COLLECTION | collections.Append COLLECTION
- collections.Append ELEMENT [ELEMENT...] COLLECTION
- collections.Append COLLECTION1 COLLECTION2
aliases: [/functions/append]
---
+1 -1
View File
@@ -11,7 +11,7 @@ action:
- functions/collections/IsSet
- functions/collections/Where
returnType: any
signatures: [PAGES | collections.Group KEY]
signatures: [collections.Group KEY PAGES]
aliases: [/functions/group]
---
+3 -1
View File
@@ -10,7 +10,9 @@ action:
- methods/page/Ref
- methods/page/RelRef
returnType: string
signatures: [urls.Ref PAGE PATH/OPTIONS]
signatures:
- urls.Ref PAGE PATH
- urls.Ref PAGE OPTIONS
aliases: [/functions/ref]
---
+3 -1
View File
@@ -10,7 +10,9 @@ action:
- methods/page/Ref
- methods/page/RelRef
returnType: string
signatures: [urls.RelRef PAGE PATH/OPTIONS]
signatures:
- urls.RelRef PAGE PATH
- urls.RelRef PAGE OPTIONS
aliases: [/functions/relref]
---
+3 -1
View File
@@ -8,7 +8,9 @@ action:
- methods/page/HeadingsFiltered
- functions/collections/KeyVals
returnType: page.Pages
signatures: [PAGES.Related PAGE/OPTIONS]
signatures:
- PAGES.Related PAGE
- PAGES.Related OPTIONS
---
Based on front matter, Hugo uses several factors to identify content related to the given page. Use the default [related content configuration], or tune the results to the desired indices and parameters. See [details].