From 26248bb9b181c562d61673ac7b6ade6c15503853 Mon Sep 17 00:00:00 2001 From: Ying Li Date: Tue, 19 Jan 2021 17:50:07 +0900 Subject: [PATCH] fix minor typo (#4629) * fix minor typo * fix sample code format --- kotlin-native/COCOAPODS.md | 12 ++++++++++-- kotlin-native/GRADLE_PLUGIN.md | 2 +- kotlin-native/LIBRARIES.md | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/kotlin-native/COCOAPODS.md b/kotlin-native/COCOAPODS.md index 3481f465267..a6356a2081f 100644 --- a/kotlin-native/COCOAPODS.md +++ b/kotlin-native/COCOAPODS.md @@ -330,7 +330,7 @@ You can add dependencies on a Pod library from `zip`, `tar`, or `jar` archive wi 1. Specify the name of a Pod library in the `pod()` function. In the configuration block specify the path to the archive: use the `url()` function with an arbitrary HTTP address in the `source` parameter value. - Additionally, you can specify the boolean `flatten` parameter as a second argument for the `url()` function + Additionally, you can specify the boolean `flatten` parameter as a second argument for the `url()` function. This parameter indicates that all the Pod files are located in the root directory of the archive. 2. Specify the minimum deployment target version for the Pod library. @@ -430,7 +430,15 @@ You can add dependencies on a Pod library from a custom Podspec repository with 4. Re-import the project. > To work correctly with Xcode, you should specify the location of specs at the beginning of your Podfile. -> For example, `source 'https://github.com/Kotlin/kotlin-cocoapods-spec.git'` +> For example: +> +>
+> +> ```ruby +> source 'https://github.com/Kotlin/kotlin-cocoapods-spec.git' +> ``` +> +>
> > You should also specify the path to the Podspec in your Podfile. > For example: diff --git a/kotlin-native/GRADLE_PLUGIN.md b/kotlin-native/GRADLE_PLUGIN.md index 68b8e05771a..38deb1bb44f 100644 --- a/kotlin-native/GRADLE_PLUGIN.md +++ b/kotlin-native/GRADLE_PLUGIN.md @@ -170,7 +170,7 @@ kotlin.sourceSets { // Configure all native platform sources sets to use it as a common one. linuxX64Main.dependsOn(nativeMain) macosX64Main.dependsOn(nativeMain) - //... + // ... } ``` diff --git a/kotlin-native/LIBRARIES.md b/kotlin-native/LIBRARIES.md index 72d9c005776..4539e6c3e0d 100644 --- a/kotlin-native/LIBRARIES.md +++ b/kotlin-native/LIBRARIES.md @@ -225,7 +225,7 @@ directory structure, with the following layout: - foo/ - $component_name/ - ir/ - - Seriaized Kotlin IR. + - Serialized Kotlin IR. - targets/ - $platform/ - kotlin/