Skip to content

Commit 052c9c9

Browse files
authored
update: rename basics.md to coroutines-basics.md (#2538)
* update: rename basics.md to coroutines-basics.md * update: add fix for correct page indexing
1 parent ce64e79 commit 052c9c9

16 files changed

+17
-16
lines changed

coroutines-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ The main coroutines guide has moved to the [docs folder](docs/topics/coroutines-
22

33
## Table of contents
44

5-
<!--- TOC_REF docs/topics/basics.md -->
5+
<!--- TOC_REF docs/topics/coroutines-basics.md -->
66
<!--- TOC_REF docs/topics/cancellation-and-timeouts.md -->
77
<!--- TOC_REF docs/topics/composing-suspending-functions.md -->
88
<!--- TOC_REF docs/topics/coroutine-context-and-dispatchers.md -->

docs/basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
The documentation has been moved to the [https://kotlinlang.org/docs/basics.html](https://kotlinlang.org/docs/basics.html) page.
1+
The documentation has been moved to the [https://kotlinlang.org/docs/coroutines-basics.html](https://kotlinlang.org/docs/coroutines-basics.html) page.
22

3-
To edit the documentation, open the [topics/basics.md](topics/basics.md) page.
3+
To edit the documentation, open the [topics/coroutines-basics.md](topics/coroutines-basics.md) page.

docs/cfg/buildprofiles.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<variables>
55
<enable-browser-edits>true</enable-browser-edits>
66
<browser-edits-url>https://github.com/Kotlin/kotlinx.coroutines/edit/master/</browser-edits-url>
7+
<allow-indexable-eaps>true</allow-indexable-eaps>
78
</variables>
89
<build-profile product="kc"/>
910
</buildprofiles>

docs/kc.tree

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

1010
<toc-element id="coroutines-guide.md"/>
1111
<toc-element id="async-programming.md"/>
12-
<toc-element id="basics.md"/>
12+
<toc-element id="coroutines-basics.md"/>
1313
<toc-element id="coroutines-basic-jvm.md"/>
1414
<toc-element toc-title="Intro to coroutines and channels – hands-on tutorial" href="https://play.kotlinlang.org/hands-on/Introduction%20to%20Coroutines%20and%20Channels/"/>
1515
<toc-element id="cancellation-and-timeouts.md"/>

docs/topics/basics.md renamed to docs/topics/coroutines-basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,4 +376,4 @@ Active coroutines that were launched in [GlobalScope] do not keep the process al
376376
[_coroutineScope]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/coroutine-scope.html
377377
[CoroutineScope()]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-scope.html
378378

379-
<!--- END -->
379+
<!--- END -->

docs/topics/coroutines-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In order to use coroutines as well as follow the examples in this guide, you nee
1616

1717
## Table of contents
1818

19-
* [Coroutines basics](basics.md)
19+
* [Coroutines basics](coroutines-basics.md)
2020
* [Tutorial: Create a basic coroutine](coroutines-basic-jvm.md)
2121
* [Hands-on: Intro to coroutines and channels](https://play.kotlinlang.org/hands-on/Introduction%20to%20Coroutines%20and%20Channels)
2222
* [Cancellation and timeouts](cancellation-and-timeouts.md)

kotlinx-coroutines-core/jvm/test/guide/example-basic-01.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

5-
// This file was automatically generated from basics.md by Knit tool. Do not edit.
5+
// This file was automatically generated from coroutines-basics.md by Knit tool. Do not edit.
66
package kotlinx.coroutines.guide.exampleBasic01
77

88
import kotlinx.coroutines.*

kotlinx-coroutines-core/jvm/test/guide/example-basic-02.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

5-
// This file was automatically generated from basics.md by Knit tool. Do not edit.
5+
// This file was automatically generated from coroutines-basics.md by Knit tool. Do not edit.
66
package kotlinx.coroutines.guide.exampleBasic02
77

88
import kotlinx.coroutines.*

kotlinx-coroutines-core/jvm/test/guide/example-basic-03.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

5-
// This file was automatically generated from basics.md by Knit tool. Do not edit.
5+
// This file was automatically generated from coroutines-basics.md by Knit tool. Do not edit.
66
package kotlinx.coroutines.guide.exampleBasic03
77

88
import kotlinx.coroutines.*

kotlinx-coroutines-core/jvm/test/guide/example-basic-04.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

5-
// This file was automatically generated from basics.md by Knit tool. Do not edit.
5+
// This file was automatically generated from coroutines-basics.md by Knit tool. Do not edit.
66
package kotlinx.coroutines.guide.exampleBasic04
77

88
import kotlinx.coroutines.*

0 commit comments

Comments
 (0)