From 9ac52fad17b8e5308ea2613809bf84ec666ac66b Mon Sep 17 00:00:00 2001 From: Yaroslav Russkih Date: Tue, 19 Feb 2019 08:59:05 +0100 Subject: [PATCH] Use https everywhere - documentation and samples --- ReadMe.md | 8 ++++---- compiler/preloader/instrumentation/ReadMe.md | 2 +- .../resources/META-INF/plugin.xml | 2 +- js/ReadMe.md | 2 +- js/npm/templates/kotlin-compiler/README.md | 18 +++++++++--------- js/npm/templates/kotlin-test/README.md | 18 +++++++++--------- js/npm/templates/kotlin/README.md | 18 +++++++++--------- libraries/ReadMe.md | 2 +- libraries/build-docs.xml | 6 +++--- .../browser-example-with-library/ReadMe.md | 2 +- libraries/examples/browser-example/ReadMe.md | 6 +++--- libraries/stdlib/ReadMe.md | 2 +- libraries/stdlib/samples/ReadMe.md | 2 +- 13 files changed, 44 insertions(+), 44 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index 0298777cd20..953dd636e88 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -1,7 +1,7 @@ -[![official project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) +[![official project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) [![TeamCity (simple build status)](https://img.shields.io/teamcity/http/teamcity.jetbrains.com/s/Kotlin_dev_Compiler.svg)](https://teamcity.jetbrains.com/viewType.html?buildTypeId=Kotlin_dev_Compiler&branch_Kotlin_dev=%3Cdefault%3E&tab=buildTypeStatusDiv) -[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlin/kotlin-maven-plugin.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.jetbrains.kotlin%22) -[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0) +[![Maven Central](https://img.shields.io/maven-central/v/org.jetbrains.kotlin/kotlin-maven-plugin.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.jetbrains.kotlin%22) +[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0) # Kotlin Programming Language @@ -15,7 +15,7 @@ Welcome to [Kotlin](https://kotlinlang.org/)! Some handy links: * [Forum](https://discuss.kotlinlang.org/) * [Kotlin Blog](https://blog.jetbrains.com/kotlin/) * [Follow Kotlin on Twitter](https://twitter.com/kotlin) - * [Public Slack channel](http://slack.kotlinlang.org/) + * [Public Slack channel](https://slack.kotlinlang.org/) * [TeamCity CI build](https://teamcity.jetbrains.com/project.html?tab=projectOverview&projectId=Kotlin) ## Editing Kotlin diff --git a/compiler/preloader/instrumentation/ReadMe.md b/compiler/preloader/instrumentation/ReadMe.md index 1989dfef324..d0fe639f3fb 100644 --- a/compiler/preloader/instrumentation/ReadMe.md +++ b/compiler/preloader/instrumentation/ReadMe.md @@ -25,7 +25,7 @@ This is determined by the ```src/META-INF/services/org.jetbrains.kotlin.preloadi **Instrumenter** is any implementation of ```org.jetbrains.kotlin.preloading.instrumentation.Instrumenter``` interface. Preloader loads the **first** instrumenter service found on the class path. -Services are provided through the [standard JDK mechanism](http://docs.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html). +Services are provided through the [standard JDK mechanism](https://docs.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html). Every preloaded class is run through the instrumenter. Before exiting the program instrumenter's dump() method is called. **Note** JDK classes and everything in the Preloader's own class path are not preloaded, thus not instrumented. diff --git a/jps-plugin/testData/general/DevKitProject/resources/META-INF/plugin.xml b/jps-plugin/testData/general/DevKitProject/resources/META-INF/plugin.xml index ab17bc27255..736cd1df218 100644 --- a/jps-plugin/testData/general/DevKitProject/resources/META-INF/plugin.xml +++ b/jps-plugin/testData/general/DevKitProject/resources/META-INF/plugin.xml @@ -2,7 +2,7 @@ com.your.company.unique.plugin.id Plugin display name here 1.0 - YourCompany + YourCompany diff --git a/js/ReadMe.md b/js/ReadMe.md index f17ea0a7c81..de5ab2d4f04 100644 --- a/js/ReadMe.md +++ b/js/ReadMe.md @@ -11,7 +11,7 @@ The Kotlin Standard Library for JS is built with gradle, see the corresponding m ## Reusing JVM based test cases in JavaScript -Any Kotlin test cases using the **org.junit.Test** annotation and the [kotlin.test](../libraries/kotlin.test) package, such as [this test case](../libraries/stdlib/test/text/StringNumberConversionTest.kt#L16) are automatically converted to JavaScript using [QUnit](http://qunitjs.com/). +Any Kotlin test cases using the **org.junit.Test** annotation and the [kotlin.test](../libraries/kotlin.test) package, such as [this test case](../libraries/stdlib/test/text/StringNumberConversionTest.kt#L16) are automatically converted to JavaScript using [QUnit](https://qunitjs.com/). This allows the test cases to be [run directly in a web page in any web browser](../libraries/stdlib/js/ReadMe.md). diff --git a/js/npm/templates/kotlin-compiler/README.md b/js/npm/templates/kotlin-compiler/README.md index bd6010e9e5c..99be9e34bb8 100644 --- a/js/npm/templates/kotlin-compiler/README.md +++ b/js/npm/templates/kotlin-compiler/README.md @@ -1,20 +1,20 @@ # Kotlin Programming Language -Welcome to [Kotlin](http://kotlinlang.org/)! Some handy links: +Welcome to [Kotlin](https://kotlinlang.org/)! Some handy links: - * [Kotlin Site](http://kotlinlang.org/) - * [Getting Started Guide](http://kotlinlang.org/docs/tutorials/javascript/getting-started-idea/getting-started-with-intellij-idea.html) - * [Try Kotlin](http://try.kotlinlang.org/) - * [Kotlin Standard Library](http://kotlinlang.org/api/latest/jvm/stdlib/index.html) - * [Issue Tracker](http://youtrack.jetbrains.com/issues/KT) + * [Kotlin Site](https://kotlinlang.org/) + * [Getting Started Guide](https://kotlinlang.org/docs/tutorials/javascript/getting-started-idea/getting-started-with-intellij-idea.html) + * [Try Kotlin](https://try.kotlinlang.org/) + * [Kotlin Standard Library](https://kotlinlang.org/api/latest/jvm/stdlib/index.html) + * [Issue Tracker](https://youtrack.jetbrains.com/issues/KT) * [Forum](https://discuss.kotlinlang.org/) - * [Kotlin Blog](http://blog.jetbrains.com/kotlin/) + * [Kotlin Blog](https://blog.jetbrains.com/kotlin/) * [Follow Kotlin on Twitter](https://twitter.com/kotlin) - * [Public Slack channel](http://slack.kotlinlang.org/) + * [Public Slack channel](https://slack.kotlinlang.org/) * [TeamCity CI build](https://teamcity.jetbrains.com/project.html?tab=projectOverview&projectId=Kotlin) ## Editing Kotlin * [Kotlin IntelliJ IDEA Plugin](https://kotlinlang.org/docs/tutorials/getting-started.html) - * [Kotlin Eclipse Plugin](http://kotlinlang.org/docs/tutorials/getting-started-eclipse.html) + * [Kotlin Eclipse Plugin](https://kotlinlang.org/docs/tutorials/getting-started-eclipse.html) * [Kotlin TextMate Bundle](https://github.com/vkostyukov/kotlin-sublime-package) diff --git a/js/npm/templates/kotlin-test/README.md b/js/npm/templates/kotlin-test/README.md index c9e3aa347e3..3ba84e57c9e 100644 --- a/js/npm/templates/kotlin-test/README.md +++ b/js/npm/templates/kotlin-test/README.md @@ -5,7 +5,7 @@ compiler output for performing assertions in tests, independently of the test fr The library includes out-of-the-box support for [Jasmine](https://jasmine.github.io/), [Mocha](https://mochajs.org/), [Jest](https://facebook.github.io/jest/), -and [QUnit](http://qunitjs.com). +and [QUnit](https://qunitjs.com). Try out the [examples](https://github.com/JetBrains/kotlin-examples/tree/master/gradle/js-tests), read the [forum post](https://discuss.kotlinlang.org/t/unit-testing-in-kotlin-js/3943) @@ -14,19 +14,19 @@ for more information. ## Handy links - * [Kotlin Site](http://kotlinlang.org/) - * [Getting Started Guide](http://kotlinlang.org/docs/tutorials/javascript/getting-started-idea/getting-started-with-intellij-idea.html) - * [Try Kotlin](http://try.kotlinlang.org/) - * [Kotlin Standard Library](http://kotlinlang.org/api/latest/jvm/stdlib/index.html) - * [Issue Tracker](http://youtrack.jetbrains.com/issues/KT) + * [Kotlin Site](https://kotlinlang.org/) + * [Getting Started Guide](https://kotlinlang.org/docs/tutorials/javascript/getting-started-idea/getting-started-with-intellij-idea.html) + * [Try Kotlin](https://try.kotlinlang.org/) + * [Kotlin Standard Library](https://kotlinlang.org/api/latest/jvm/stdlib/index.html) + * [Issue Tracker](https://youtrack.jetbrains.com/issues/KT) * [Forum](https://discuss.kotlinlang.org/) - * [Kotlin Blog](http://blog.jetbrains.com/kotlin/) + * [Kotlin Blog](https://blog.jetbrains.com/kotlin/) * [Follow Kotlin on Twitter](https://twitter.com/kotlin) - * [Public Slack channel](http://slack.kotlinlang.org/) + * [Public Slack channel](https://slack.kotlinlang.org/) * [TeamCity CI build](https://teamcity.jetbrains.com/project.html?tab=projectOverview&projectId=Kotlin) ## Editing Kotlin * [Kotlin IntelliJ IDEA Plugin](https://kotlinlang.org/docs/tutorials/getting-started.html) - * [Kotlin Eclipse Plugin](http://kotlinlang.org/docs/tutorials/getting-started-eclipse.html) + * [Kotlin Eclipse Plugin](https://kotlinlang.org/docs/tutorials/getting-started-eclipse.html) * [Kotlin TextMate Bundle](https://github.com/vkostyukov/kotlin-sublime-package) diff --git a/js/npm/templates/kotlin/README.md b/js/npm/templates/kotlin/README.md index bd6010e9e5c..99be9e34bb8 100644 --- a/js/npm/templates/kotlin/README.md +++ b/js/npm/templates/kotlin/README.md @@ -1,20 +1,20 @@ # Kotlin Programming Language -Welcome to [Kotlin](http://kotlinlang.org/)! Some handy links: +Welcome to [Kotlin](https://kotlinlang.org/)! Some handy links: - * [Kotlin Site](http://kotlinlang.org/) - * [Getting Started Guide](http://kotlinlang.org/docs/tutorials/javascript/getting-started-idea/getting-started-with-intellij-idea.html) - * [Try Kotlin](http://try.kotlinlang.org/) - * [Kotlin Standard Library](http://kotlinlang.org/api/latest/jvm/stdlib/index.html) - * [Issue Tracker](http://youtrack.jetbrains.com/issues/KT) + * [Kotlin Site](https://kotlinlang.org/) + * [Getting Started Guide](https://kotlinlang.org/docs/tutorials/javascript/getting-started-idea/getting-started-with-intellij-idea.html) + * [Try Kotlin](https://try.kotlinlang.org/) + * [Kotlin Standard Library](https://kotlinlang.org/api/latest/jvm/stdlib/index.html) + * [Issue Tracker](https://youtrack.jetbrains.com/issues/KT) * [Forum](https://discuss.kotlinlang.org/) - * [Kotlin Blog](http://blog.jetbrains.com/kotlin/) + * [Kotlin Blog](https://blog.jetbrains.com/kotlin/) * [Follow Kotlin on Twitter](https://twitter.com/kotlin) - * [Public Slack channel](http://slack.kotlinlang.org/) + * [Public Slack channel](https://slack.kotlinlang.org/) * [TeamCity CI build](https://teamcity.jetbrains.com/project.html?tab=projectOverview&projectId=Kotlin) ## Editing Kotlin * [Kotlin IntelliJ IDEA Plugin](https://kotlinlang.org/docs/tutorials/getting-started.html) - * [Kotlin Eclipse Plugin](http://kotlinlang.org/docs/tutorials/getting-started-eclipse.html) + * [Kotlin Eclipse Plugin](https://kotlinlang.org/docs/tutorials/getting-started-eclipse.html) * [Kotlin TextMate Bundle](https://github.com/vkostyukov/kotlin-sublime-package) diff --git a/libraries/ReadMe.md b/libraries/ReadMe.md index e95486c48e5..4ad403c825d 100644 --- a/libraries/ReadMe.md +++ b/libraries/ReadMe.md @@ -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: diff --git a/libraries/build-docs.xml b/libraries/build-docs.xml index 89144f3bd9e..eaa8d26381b 100644 --- a/libraries/build-docs.xml +++ b/libraries/build-docs.xml @@ -75,7 +75,7 @@ - + @@ -93,9 +93,9 @@ - + - + diff --git a/libraries/examples/browser-example-with-library/ReadMe.md b/libraries/examples/browser-example-with-library/ReadMe.md index bc8db492735..690da4ab562 100644 --- a/libraries/examples/browser-example-with-library/ReadMe.md +++ b/libraries/examples/browser-example-with-library/ReadMe.md @@ -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 diff --git a/libraries/examples/browser-example/ReadMe.md b/libraries/examples/browser-example/ReadMe.md index 5d2725bdfb7..defc3a492d5 100644 --- a/libraries/examples/browser-example/ReadMe.md +++ b/libraries/examples/browser-example/ReadMe.md @@ -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... diff --git a/libraries/stdlib/ReadMe.md b/libraries/stdlib/ReadMe.md index 12f6d37c551..5903b055be7 100644 --- a/libraries/stdlib/ReadMe.md +++ b/libraries/stdlib/ReadMe.md @@ -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 diff --git a/libraries/stdlib/samples/ReadMe.md b/libraries/stdlib/samples/ReadMe.md index ee3959b2c81..971ef747de8 100644 --- a/libraries/stdlib/samples/ReadMe.md +++ b/libraries/stdlib/samples/ReadMe.md @@ -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 -- GitLab