Use https everywhere - documentation and samples

This commit is contained in:
Yaroslav Russkih
2019-02-19 08:59:05 +01:00
committed by Ilya Chernikov
parent 028a311949
commit 9ac52fad17
13 changed files with 44 additions and 44 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ You can work with the maven modules of this maven project in IDEA from the [root
### Building
You need to install a recent (at least 3.3) [Maven](http://maven.apache.org/) distribution.
You need to install a recent (at least 3.3) [Maven](https://maven.apache.org/) distribution.
Before building this Maven project you need to build and install the required artifacts built with Gradle to the local maven repository, by issuing the following command in the root project:
+3 -3
View File
@@ -75,7 +75,7 @@
<sourceRoot path="stdlib/common/src" />
<sourceRoot path="stdlib/src" />
<sourcelink path=".." url="http://github.com/JetBrains/kotlin/blob/${github.revision}" linesuffix="#L"/>
<sourcelink path=".." url="https://github.com/JetBrains/kotlin/blob/${github.revision}" linesuffix="#L"/>
<!-- TODO Docs? -->
<packageOptions prefix="org.w3c" reportUndocumented="false"/>
@@ -93,9 +93,9 @@
<sourceRoot path="kotlin.test/testng/src/main/kotlin" platforms="JVM"/>
<sourceRoot path="kotlin.test/js/src/main/kotlin" platforms="JS"/>
<sourcelink path=".." url="http://github.com/JetBrains/kotlin/blob/${github.revision}" linesuffix="#L"/>
<sourcelink path=".." url="https://github.com/JetBrains/kotlin/blob/${github.revision}" linesuffix="#L"/>
<ExternalDocumentationLink url="https://kotlinlang.org/api/latest/jvm/stdlib/" packageListUrl="${stdlib.package.list}" />
<ExternalDocumentationLink url="http://junit.org/junit4/javadoc/latest/" />
<ExternalDocumentationLink url="https://junit.org/junit4/javadoc/latest/" />
<packageoptions prefix="org.junit" skipdeprecated="true"/>
</dokka>
</target>
@@ -2,7 +2,7 @@
This (really simple ;) application shows how to use Kotlin and the maven plugin to generate JavaScript and invoke it from inside a HTML web page.
The source [Hello.kt](https://github.com/JetBrains/kotlin/blob/master/libraries/examples/browser-example-with-library/src/main/kotlin/sample/Hello.kt) uses the [kotlin.browser](http://jetbrains.github.com/kotlin/versions/snapshot/apidocs/kotlin/browser/package-summary.html) API to access the *document* property to modify the HTML.
The source [Hello.kt](https://github.com/JetBrains/kotlin/blob/master/libraries/examples/browser-example-with-library/src/main/kotlin/sample/Hello.kt) uses the [kotlin.browser](https://jetbrains.github.com/kotlin/versions/snapshot/apidocs/kotlin/browser/package-summary.html) API to access the *document* property to modify the HTML.
### Running the sample in a web browser
+3 -3
View File
@@ -2,7 +2,7 @@
This (really simple ;) application shows how to use Kotlin and the maven plugin to generate JavaScript and invoke it from inside a HTML web page.
The source [Hello.kt](https://github.com/JetBrains/kotlin/blob/master/libraries/examples/browser-example/src/main/kotlin/sample/Hello.kt) uses the [kotlin.browser](http://jetbrains.github.com/kotlin/versions/snapshot/apidocs/kotlin/browser/package-summary.html) API to access the *document* property to modify the HTML.
The source [Hello.kt](https://github.com/JetBrains/kotlin/blob/master/libraries/examples/browser-example/src/main/kotlin/sample/Hello.kt) uses the [kotlin.browser](https://jetbrains.github.com/kotlin/versions/snapshot/apidocs/kotlin/browser/package-summary.html) API to access the *document* property to modify the HTML.
### Running the sample in a web browser
@@ -14,11 +14,11 @@ To run the example try:
This should open a browser which then shows some simple HTML which then includes some dynamically generated content.
## Running the sample on Java 7 with JavaFX and [kool.io](http://kool.io/)'s browser
## Running the sample on Java 7 with JavaFX and [kool.io](https://kool.io/)'s browser
You can also run the sample as Java code on a JVM using JavaFX (which includes its own webkit rendering engine for HTML / CSS / JS support) using the [kool.io JavaFX browser](https://github.com/koolio/kool/blob/master/samples/kool-template-sample/ReadMe.md).
First you need to install [Java 7 update 4](http://www.oracle.com/technetwork/java/javase/overview/index.html) or later which ships with JavaFX.
First you need to install [Java 7 update 4](https://www.oracle.com/technetwork/java/javase/overview/index.html) or later which ships with JavaFX.
You will need to setup **JAVA_HOME** and **PATH** environment variables to point to the latest JDK. If you install Java 7 and use a Mac you might want to run this first...
+1 -1
View File
@@ -1,6 +1,6 @@
## The Kotlin Standard Library
This module creates the [standard library for Kotlin](http://kotlinlang.org/api/latest/jvm/stdlib/index.html).
This module creates the [standard library for Kotlin](https://kotlinlang.org/api/latest/jvm/stdlib/index.html).
### Notes for contributors
+1 -1
View File
@@ -3,7 +3,7 @@
This project contains samples for the standard library functions.
They are located in the [test](test) source root and each sample is written like a small unit test.
Then these samples are referenced in the documentation of the standard library functions
with the [`@sample`](http://kotlinlang.org/docs/reference/kotlin-doc.html#block-tags) tag and are embedded in the generated documentation as runnable samples.
with the [`@sample`](https://kotlinlang.org/docs/reference/kotlin-doc.html#block-tags) tag and are embedded in the generated documentation as runnable samples.
### Guides for sample authoring