Skip to content

Commit c129942

Browse files
siarbsarahhaggarty
authored andcommitted
Update the id of the Ranges chapter to avoid the conflict (WRS-7029)
**Root cause: ** The main title automatically receives the `id="ranges"` based on the file name `ranges.md`. This creates a conflict when the ## Ranges sub-header also assigns the same id for chapter. To avoid this conflict, explicitly assign a different ID to the sub-header that does not match the main title’s auto-generated ID.
1 parent fbfdd16 commit c129942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/topics/ranges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Ranges and progressions define sequences of values in Kotlin, supporting range operators, iteration, custom step values, and arithmetic progressions.
44

5-
## Ranges
5+
## Ranges {id="range"}
66

77
Kotlin lets you easily create ranges of values using the [`.rangeTo()`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/range-to.html)
88
and [`.rangeUntil()`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/range-until.html) functions from the

0 commit comments

Comments
 (0)