Skip to content

Commit 31dfc08

Browse files
committed
Try to fix the intro to PAGE.Rotate
I have read the current version a few times, and I don't think it accurately describe what the method really does.
1 parent 154f306 commit 31dfc08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/methods/page/Rotate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Rotate
3-
description: Returns a collection of all pages sharing the same identity across the specified dimension, including the current page, sorted by the dimension's weight.
3+
description: Returns a collection of pages that vary along the specified dimension while sharing the current page's values for the other dimensions, including the current page, sorted by the dimension's weight.
44
categories: []
55
keywords: []
66
params:
@@ -11,7 +11,7 @@ params:
1111

1212
{{< new-in 0.153.0 />}}
1313

14-
The `Rotate` method on a `Page` object returns a collection of all pages sharing the same identity across the specified [dimension](g), including the current page, sorted by the dimension's weight.
14+
The `Rotate` method on a `Page` object returns a collection of pages that vary along the specified [dimension](g), while holding the other dimensions constant. The result includes the current page and is sorted by the dimension's weight. For example, rotating along `language` returns all language variants that share the current page's version and role.
1515

1616
The `DIMENSION` argument must be one of `language`, `version`, or `role`.
1717

0 commit comments

Comments
 (0)