Skip to content

Commit

Permalink
Correct 'related' front matter values
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring committed Dec 30, 2023
1 parent 88b21fa commit 3231484
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 88 deletions.
1 change: 0 additions & 1 deletion content/en/functions/collections/Append.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ action:
aliases: [append]
related:
- functions/collections/Merge
- functions/collections/Slice
returnType: any
signatures:
- collections.Append ELEMENT [ELEMENT...] COLLECTION
Expand Down
7 changes: 1 addition & 6 deletions content/en/functions/collections/Apply.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@ categories: []
keywords: []
action:
aliases: [apply]
related: []
returnType: '[]any'
signatures: [collections.Apply COLLECTION FUNCTION PARAM...]
relatedFunctions:
- collections.Delimit
- collections.In
- collections.Reverse
- collections.Seq
- collections.Slice
aliases: [/functions/apply]
---

Expand Down
5 changes: 0 additions & 5 deletions content/en/functions/collections/Delimit.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ keywords: []
action:
aliases: [delimit]
related:
- functions/collections/Apply
- functions/collections/In
- functions/collections/Reverse
- functions/collections/Seq
- functions/collections/Slice
- functions/strings/Split
returnType: string
signatures: ['collections.Delimit COLLECTION DELIMITER [LAST]']
Expand Down
5 changes: 1 addition & 4 deletions content/en/functions/collections/Dictionary.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ keywords: []
action:
aliases: [dict]
related:
- functions/collections/Group
- functions/collections/IndexFunction
- functions/collections/IsSet
- functions/collections/Where
- functions/collections/Slice
returnType: mapany
signatures: ['collections.Dictionary KEY VALUE [VALUE...]']
aliases: [/functions/dict]
Expand Down
1 change: 1 addition & 0 deletions content/en/functions/collections/First.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ action:
related:
- functions/collections/After
- functions/collections/Last
- methods/pages/Limit
returnType: any
signatures: [collections.First N COLLECTION]
aliases: [/functions/first]
Expand Down
6 changes: 1 addition & 5 deletions content/en/functions/collections/Group.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ categories: []
keywords: []
action:
aliases: [group]
related:
- functions/collections/Dictionary
- functions/collections/IndexFunction
- functions/collections/IsSet
- functions/collections/Where
related: []
returnType: any
signatures: [collections.Group KEY PAGES]
aliases: [/functions/group]
Expand Down
1 change: 0 additions & 1 deletion content/en/functions/collections/In.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ keywords: []
action:
aliases: [in]
related:
- functions/collections/Slice
- functions/strings/Contains
- functions/strings/ContainsAny
- functions/strings/ContainsNonSpace
Expand Down
6 changes: 1 addition & 5 deletions content/en/functions/collections/IndexFunction.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ categories: []
keywords: []
action:
aliases: [index]
related:
- functions/collections/Dictionary
- functions/collections/Group
- functions/collections/IsSet
- functions/collections/Where
related: []
returnType: any
signatures:
- collections.Index COLLECTION INDEXES
Expand Down
4 changes: 0 additions & 4 deletions content/en/functions/collections/IsSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ keywords: []
action:
aliases: [isset]
related:
- functions/collections/Dictionary
- functions/collections/Group
- functions/collections/IndexFunction
- functions/collections/Where
- functions/go-template/if
- functions/go-template/with
returnType: bool
Expand Down
1 change: 1 addition & 0 deletions content/en/functions/collections/NewScratch.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ action:
related:
- methods/page/scratch
- methods/page/store
- methods/shortcode/scratch
returnType: maps.Scratch
signatures: [collections.NewScratch ]
---
Expand Down
5 changes: 2 additions & 3 deletions content/en/functions/collections/Querify.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ categories: []
keywords: []
action:
aliases: [querify]
related:
- functions/go-template/urlquery.md
returnType: string
signatures:
- collections.Querify VALUE [VALUE...]
- collections.Querify COLLECTION
related:
- collections.Querify
- urlquery
aliases: [/functions/querify]
---

Expand Down
11 changes: 4 additions & 7 deletions content/en/functions/collections/Reverse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@ categories: []
keywords: []
action:
aliases: []
related:
- functions/collections/Sort
- functions/collections/Shuffle
- functions/collections/Uniq
returnType: any
signatures: [collections.Reverse COLLECTION]
related:
- collections.Apply
- collections.Delimit
- collections.In
- collections.Reverse
- collections.Seq
- collections.Slice
aliases: [/functions/collections.reverse]
---

Expand Down
8 changes: 1 addition & 7 deletions content/en/functions/collections/Seq.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,12 @@ categories: []
keywords: []
action:
aliases: [seq]
related: []
returnType: '[]int'
signatures:
- collections.Seq LAST
- collections.Seq FIRST LAST
- collections.Seq FIRST INCREMENT LAST
related:
- collections.Apply
- collections.Delimit
- collections.In
- collections.Reverse
- collections.Seq
- collections.Slice
aliases: [/functions/seq]
---

Expand Down
9 changes: 4 additions & 5 deletions content/en/functions/collections/Shuffle.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ categories: []
keywords: []
action:
aliases: [shuffle]
related:
- functions/collections/Reverse
- functions/collections/Sort
- functions/collections/Uniq
returnType: any
signatures: [collections.Shuffle COLLECTION]
related:
- collections.Reverse
- collections.Shuffle
- collections.Sort
- collections.Uniq
aliases: [/functions/shuffle]
---

Expand Down
10 changes: 2 additions & 8 deletions content/en/functions/collections/Slice.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@ categories: []
keywords: []
action:
aliases: [slice]
related:
- functions/collections/Dictionary
returnType: any
signatures: [collections.Slice ITEM...]
related:
- collections.Append
- collections.Apply
- collections.Delimit
- collections.In
- collections.Reverse
- collections.Seq
- collections.Slice
aliases: [/functions/slice]
---

Expand Down
9 changes: 4 additions & 5 deletions content/en/functions/collections/Sort.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ categories: []
keywords: []
action:
aliases: [sort]
related:
- functions/collections/Reverse
- functions/collections/Shuffle
- functions/collections/Uniq
returnType: any
signatures: ['collections.Sort COLLECTION [KEY] [ORDER]']
related:
- collections.Reverse
- collections.Shuffle
- collections.Sort
- collections.Uniq
toc: true
aliases: [/functions/sort]
---
Expand Down
10 changes: 5 additions & 5 deletions content/en/functions/collections/SymDiff.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ categories: []
keywords: []
action:
aliases: [symdiff]
related:
- functions/collections/Complement
- functions/collections/Intersect
- functions/collections/SymDiff
- functions/collections/Union
returnType: any
signatures: [COLLECTION | collections.SymDiff COLLECTION]
related:
- collections.Complement
- collections.Intersect
- collections.SymDiff
- collections.Union
aliases: [/functions/symdiff]
---

Expand Down
10 changes: 5 additions & 5 deletions content/en/functions/collections/Union.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ categories: []
keywords: []
action:
aliases: [union]
related:
- functions/collections/Complement
- functions/collections/Intersect
- functions/collections/SymDiff
- functions/collections/Union
returnType: any
signatures: [collections.Union SET1 SET2]
related:
- collections.Complement
- collections.Intersect
- collections.SymDiff
- collections.Union
aliases: [/functions/union]
---

Expand Down
10 changes: 5 additions & 5 deletions content/en/functions/collections/Uniq.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ categories: []
keywords: []
action:
aliases: [uniq]
related:
- functions/collections/Reverse
- functions/collections/Shuffle
- functions/collections/Sort
- functions/collections/Uniq
returnType: any
signatures: [collections.Uniq COLLECTION]
related:
- collections.Reverse
- collections.Shuffle
- collections.Sort
- collections.Uniq
aliases: [/functions/uniq]
---

Expand Down
9 changes: 2 additions & 7 deletions content/en/functions/collections/Where.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@ categories: []
keywords: []
action:
aliases: [where]
related: []
returnType: any
signatures: ['collections.Where COLLECTION KEY [OPERATOR] VALUE']
related:
- collections.Dictionary
- collections.Group
- collections.Index
- collections.IsSet
- collections.Where
aliases: [/functions/where]
toc: true
aliases: [/functions/where]
---

The `where` function returns the given collection, removing elements that do not satisfy the comparison condition. The comparison condition is comprised of the `KEY`, `OPERATOR`, and `VALUE` arguments:
Expand Down

0 comments on commit 3231484

Please sign in to comment.