forked from JetBrains/kotlin-web-site
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
# Conflicts: # .gitignore # data/releases.yml # requirements.txt
- Loading branch information
Showing
788 changed files
with
54,431 additions
and
11,211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
.teamcity/builds/apiReferences/kotlinx/io/KotlinxIOBuildApiReference.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
package builds.apiReferences.kotlinx.io | ||
|
||
import BuildParams.KOTLINX_IO_RELEASE_TAG | ||
import builds.apiReferences.dependsOnDokkaTemplate | ||
import builds.apiReferences.templates.BuildApiReference | ||
import builds.apiReferences.templates.buildDokkaHTML | ||
import builds.apiReferences.templates.scriptDokkaVersionSync | ||
import builds.apiReferences.templates.scriptDropSnapshot | ||
import jetbrains.buildServer.configs.kotlin.BuildType | ||
import jetbrains.buildServer.configs.kotlin.buildSteps.script | ||
|
||
object KotlinxIOBuildApiReference : BuildType({ | ||
name = "kotlinx-io API reference" | ||
|
||
templates(BuildApiReference) | ||
|
||
artifactRules = "build/dokka/htmlMultiModule/** => pages.zip" | ||
|
||
params { | ||
param("release.tag", KOTLINX_IO_RELEASE_TAG) | ||
} | ||
|
||
vcs { | ||
root(builds.apiReferences.vcsRoots.KotlinxIO) | ||
} | ||
|
||
dependencies { | ||
dependsOnDokkaTemplate(KotlinxIOPrepareDokkaTemplates) | ||
} | ||
|
||
steps { | ||
scriptDropSnapshot {} | ||
scriptDokkaVersionSync { | ||
enabled = false // TODO readme, and disable this step for other libs too | ||
} | ||
buildDokkaHTML { | ||
enabled = false // TODO add useGradlewWrapper = true | ||
} | ||
script { | ||
name = "build api reference" | ||
scriptContent = """ | ||
#!/bin/bash | ||
set -e -u | ||
./gradlew dokkaHtmlMultiModule --no-daemon --no-configuration-cache | ||
""".trimIndent() | ||
} | ||
} | ||
}) |
20 changes: 20 additions & 0 deletions
20
.teamcity/builds/apiReferences/kotlinx/io/KotlinxIOBuildSearchIndex.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package builds.apiReferences.kotlinx.io | ||
|
||
import builds.apiReferences.dependsOnDokkaPagesJson | ||
import builds.apiReferences.templates.BuildApiReferenceSearchIndex | ||
import jetbrains.buildServer.configs.kotlin.BuildType | ||
|
||
object KotlinxIOBuildSearchIndex: BuildType({ | ||
name = "Build search index for kotlinx-io" | ||
|
||
templates(BuildApiReferenceSearchIndex) | ||
|
||
params { | ||
param("env.ALGOLIA_INDEX_NAME", "kotlinx-io") | ||
param("env.API_REFERENCE_URL", "/api/kotlinx-io") | ||
} | ||
|
||
dependencies { | ||
dependsOnDokkaPagesJson(KotlinxIOBuildApiReference) | ||
} | ||
}) |
14 changes: 14 additions & 0 deletions
14
.teamcity/builds/apiReferences/kotlinx/io/KotlinxIOPrepareDokkaTemplates.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package builds.apiReferences.kotlinx.io | ||
|
||
import builds.apiReferences.templates.PrepareDokkaTemplate | ||
import jetbrains.buildServer.configs.kotlin.BuildType | ||
|
||
object KotlinxIOPrepareDokkaTemplates: BuildType({ | ||
name = "Prepare dokka templates for kotlinx-io" | ||
|
||
templates(PrepareDokkaTemplate) | ||
|
||
params { | ||
param("env.ALGOLIA_INDEX_NAME", "kotlinx-io") | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
.teamcity/builds/apiReferences/stdlib/StdlibBuildSearchIndex.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package builds.apiReferences.stdlib | ||
|
||
import builds.apiReferences.templates.BuildApiReferenceSearchIndex | ||
import jetbrains.buildServer.configs.kotlin.BuildType | ||
import jetbrains.buildServer.configs.kotlin.FailureAction | ||
|
||
object StdlibBuildSearchIndex : BuildType({ | ||
name = "Build search index for stdlib" | ||
|
||
templates(BuildApiReferenceSearchIndex) | ||
|
||
params { | ||
param("env.ALGOLIA_INDEX_NAME", "api-core") | ||
param("env.API_REFERENCE_URL", "/api/core") | ||
} | ||
|
||
dependencies { | ||
dependency(BuildStdlibApiReference) { | ||
snapshot { | ||
onDependencyFailure = FailureAction.FAIL_TO_START | ||
onDependencyCancel = FailureAction.CANCEL | ||
} | ||
artifacts { | ||
artifactRules = "+:pages.json => api-references/" | ||
} | ||
} | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.