update documentation to include it to kotlinlang.org (#2015)

This commit is contained in:
Eugene Petrenko
2018-09-06 19:22:29 +03:00
committed by Nikolay Igotti
parent 710c691aa8
commit 7ee04b3108
11 changed files with 122 additions and 21 deletions
+6
View File
@@ -1,3 +1,9 @@
---
type: doc
layout: reference
title: "Concurrency in Kotlin/Native"
---
### Concurrency in Kotlin/Native ### Concurrency in Kotlin/Native
Kotlin/Native runtime doesn't encourage a classical thread-oriented concurrency Kotlin/Native runtime doesn't encourage a classical thread-oriented concurrency
+6
View File
@@ -1,3 +1,9 @@
---
type: doc
layout: reference
title: "Debugging"
---
## Debugging ## Debugging
Currently Kotlin native compiler produces debug info compatible with DWARF 2 specification, so modern debugger tools could Currently Kotlin native compiler produces debug info compatible with DWARF 2 specification, so modern debugger tools could
+5
View File
@@ -1,3 +1,8 @@
---
type: doc
layout: reference
title: "FAQ"
---
### Q: How do I run my program? ### Q: How do I run my program?
A: Define top level function `fun main(args: Array<String>)`, please ensure it's not A: Define top level function `fun main(args: Array<String>)`, please ensure it's not
+6
View File
@@ -1,3 +1,9 @@
---
type: doc
layout: reference
title: "Kotlin/Native Gradle plugin"
---
# Kotlin/Native Gradle plugin # Kotlin/Native Gradle plugin
_Note: For the experimental DSL see the [corresponding section](#experimental-plugin)_. _Note: For the experimental DSL see the [corresponding section](#experimental-plugin)_.
+6
View File
@@ -1,3 +1,9 @@
---
type: doc
layout: reference
title: "Immutability in Kotlin/Native"
---
# Immutability in Kotlin/Native # Immutability in Kotlin/Native
Kotlin/Native implements strict mutability checks, ensuring Kotlin/Native implements strict mutability checks, ensuring
+6
View File
@@ -1,3 +1,9 @@
---
type: doc
layout: reference
title: "Kotlin/Native interoperability"
---
# _Kotlin/Native_ interoperability # # _Kotlin/Native_ interoperability #
## Introduction ## ## Introduction ##
+8
View File
@@ -1,3 +1,9 @@
---
type: doc
layout: reference
title: "Kotlin/Native libraries"
---
# Kotlin/Native libraries # Kotlin/Native libraries
## Kotlin compiler specifics ## Kotlin compiler specifics
@@ -117,6 +123,7 @@ directory structure, with the following layout:
**foo.klib** when unpacked as **foo/** gives us: **foo.klib** when unpacked as **foo/** gives us:
```
- foo/ - foo/
- targets/ - targets/
- $platform/ - $platform/
@@ -131,6 +138,7 @@ directory structure, with the following layout:
- resources/ - resources/
- General resources such as images. (Not used yet). - General resources such as images. (Not used yet).
- manifest - A file in *java property* format describing the library. - manifest - A file in *java property* format describing the library.
```
An exemplar layout can be found in `klib/stdlib` directory of your installation. An exemplar layout can be found in `klib/stdlib` directory of your installation.
+6
View File
@@ -1,3 +1,9 @@
---
type: doc
layout: reference
title: "Kotlin/Native in multiplatform projects"
---
# Kotlin/Native in multiplatform projects # Kotlin/Native in multiplatform projects
While Kotlin/Native could be used as the only Kotlin compiler in the project, it is pretty common to combine While Kotlin/Native could be used as the only Kotlin compiler in the project, it is pretty common to combine
+6
View File
@@ -1,3 +1,9 @@
---
type: doc
layout: reference
title: "Kotlin/Native interoperability with Swift/Objective-C"
---
# _Kotlin/Native_ interoperability with Swift/Objective-C # _Kotlin/Native_ interoperability with Swift/Objective-C
This documents covers some details of Kotlin/Native interoperability with This documents covers some details of Kotlin/Native interoperability with
+6
View File
@@ -1,3 +1,9 @@
---
type: doc
layout: reference
title: "Platform libraries"
---
# Platform libraries # Platform libraries
## Overview ## Overview
+40
View File
@@ -0,0 +1,40 @@
- md: CONCURRENCY.md
url: concurrency.html
title: "Concurrency"
- md: IMMUTABILITY.md
url: immutability.html
title: "Immutability"
- md: LIBRARIES.md
url: libraries.html
title: "Kotlin Libraries"
- md: PLATFORM_LIBS.md
url: platform_libs.html
title: "Platform Libraries"
- md: MULTIPLATFORM.md
url: multiplatform.html
title: "Multiplatform Projects"
- md: INTEROP.md
url: c_interop.html
title: "C Interop"
- md: OBJC_INTEROP.md
url: objc_interop.html
title: "Objective-C and Swift Interop"
- md: GRADLE_PLUGIN.md
url: gradle_plugin.html
title: "Gradle Plugin"
- md: DEBUGGING.md
url: debugging.html
title: "Debugging"
- md: FAQ.md
url: faq.html
title: "FAQ"