Commit Graph

47 Commits

Author SHA1 Message Date
Igor Yakovlev 931cc48def [Wasm/WASI] Implementation of a callback on root exported function exit
Fixed #KT-64486
2024-01-15 11:37:37 +00:00
Ilya Gorbunov 5e61cb5098 [stdlib-docs] Fix JS stdlib source paths in API docs builds 2023-11-13 19:21:08 +00:00
Ilya Gorbunov db6dfe99a0 Update Dokka to 1.9.10 2023-10-17 15:43:59 +00:00
Ilya Gorbunov 516383b995 [Docs] add wasm source sets for wasm-js and wasm-wasi 2023-08-30 11:37:29 +00:00
vmishenev 5c0c8ed2d5 Update Dokka to 1.9.10-dev
- Use analysis plugin configuration instead of `StdLibAnalysisConfigurationPlugin`
- Change SamplesTransformer plugin after Dokka refactoring
2023-08-23 12:33:40 +00:00
Ilya Gorbunov 69cb722ff4 Add js compiler disambiguation attribute to fix docs build 2023-08-17 17:21:23 +00:00
Ilya Gorbunov 36cb94c158 Update Dokka to 1.8.20-dev-213 2023-04-19 10:28:07 +00:00
Ilya Gorbunov 9892a49c4b KT-54452 Use js-ir sources for building stdlib-js sources.jar and API docs 2023-03-22 05:57:14 +00:00
Ilya Gorbunov 3b97bfb426 Extract kotlinLanguageVersion to gradle.properties
Read it when building docs in order to keep
docs version filter/language analyzer version in sync with
the language version used to compile libraries.
2023-03-07 17:55:23 +00:00
Ilya Gorbunov 28ae0c1649 docs build: allow to specify custom dokka repository
- centralize repository management in settings.gradle.kts
- allow to specify dokka repository with a gradle property
- automatically add mavenLocal for -local dokka versions
- specify kotlin version for building plugins in one place
2023-03-07 17:55:23 +00:00
Ilya Gorbunov 93650dcada docs build: move parameter initialization to the parent project
in order to avoid evaluationDependsOn dependency
2023-03-07 17:55:23 +00:00
Ilya Gorbunov e627356aea docs: cleanup remaining previous version specializations 2023-03-07 17:55:22 +00:00
Ilya Gorbunov 5a2d557839 docs: specialize build for latest version
- leave only the latest version in versions list
- remove conditions for previous versions
- merge JVM7/8 source sets into JVM
2023-02-22 23:52:43 +00:00
Ilya Gorbunov ba6732ac17 Render kotlin-reflect library documentation in a separate module 2023-02-22 23:52:42 +00:00
Ilya Gorbunov d695b0eac4 Setup multi-module docs build task 2023-02-22 23:52:42 +00:00
Ilya Gorbunov 6236a1fe64 Determine snapshot version automatically from root gradle.properties 2023-02-22 23:52:42 +00:00
Ilya Gorbunov e3cfed8ced Allow to specify target and templates directory with Gradle properties 2023-02-22 23:52:41 +00:00
Ilya Gorbunov 6d3ddb999f Migrate to Gradle KTS, step 3: extract more common extension helpers 2023-02-22 23:52:41 +00:00
Ilya Gorbunov 65dbc1c98a Migrate to Gradle KTS, step 2: fix syntax 2023-02-22 23:52:41 +00:00
Ilya Gorbunov 63eaf3f86f Migrate to Gradle KTS, step 1: rename 2023-02-22 23:52:40 +00:00
Ilya Gorbunov ef02b47348 Update Dokka to 1.8.0-dev-195
- Build dokka plugins with Kotlin 1.8 (required to compile with Dokka 1.8)
2023-02-22 23:52:40 +00:00
Ilya Gorbunov e8139043b2 Remove workaround for removing SinceKotlin from enums
No longer needed with the modern Dokka
2023-02-22 23:52:40 +00:00
Ilya Gorbunov 95f21075fe Inline project with kotlin-native path settings 2023-02-22 23:52:40 +00:00
Ilya Gorbunov 2cfbbb185d Change docs artifacts directory layout for easier publishing
Change module names of libraries to be consistent
2023-02-22 23:52:39 +00:00
Ilya Gorbunov e105d11a2b Documentation source sets configuration tuning
- consistent naming of source sets
- register JDK7/8 docs source sets only since 1.2
- source set dependencies in kotlin-test module
- classpath tuning
  - Enumerate classpath jars in library directories:
    compiler can't use just directory as a classpath
  - No need to pass classpaths for stdlib docs build:
    it's analyzed from sources and doesn't have other dependencies
2023-02-22 23:52:39 +00:00
vmishenev a758e0bae7 Disable ignoreCommonBuiltIns in kotlin.test 2023-02-22 23:52:39 +00:00
Ilya Gorbunov fbe1aff961 Extract repeating parts of configuration 2023-02-22 23:52:38 +00:00
Ilya Gorbunov e94ca37bd6 Rectify docs task dependencies
Introduce kotlin-test->stdlib doc task dependency due to package-list and fix package-list local path
2023-02-22 23:52:38 +00:00
vmishenev e94818a1cb Setup project for docs build with new Dokka
- Update Dokka to 1.6.20-M1
- Update Dokka to 1.6.20
- Update Dokka to 1.7.0-dev
- Update Dokka to 1.7.20-dev-187

Co-authored-by: ilya.gorbunov@jetbrains.com
2023-02-22 23:52:38 +00:00
Ilya Gorbunov 9bceb6cd0a Move/copy legacy docs build to a separate directory 2023-02-22 23:52:37 +00:00
Dmitriy Novozhilov 66544a4e00 Switch kotlin version to 1.9
with appropriate fixes in testdata, tests and other
places.
2023-01-30 09:29:55 +00:00
Abduqodiri Qurbonzoda 57bbc335f4 Fix stdlib docs generator after adding new enums 2022-09-18 22:49:02 +00:00
Ilya Gorbunov 5adfbfc73f Temporarily disable testng docs linking
Until https://github.com/cbeust/testng/issues/2789 is fixed
2022-08-11 10:42:27 +00:00
Ilya Chernikov bb996c1b27 Switch kotlin version to 1.8
with appropriate fixes in testdata, tests and other
places.
2022-06-29 10:20:30 +02:00
Abduqodiri Qurbonzoda dc6d2edf51 Implement a workaround for PathTreeWalk @SinceKotlin #KT-52977 2022-06-28 00:52:43 +00:00
Ilya Gorbunov 1cfc6a8fca Move sources of ranges to common stdlib from builtins
But still cherry-pick them when serializing builtins because they are
used in builtins signatures.

Merge-request: KT-MR-6488
Merged-by: Ilya Gorbunov <Ilya.Gorbunov@jetbrains.com>
2022-06-23 03:49:30 +00:00
Ilya Chernikov 352fa7540c Fix versions in poms, etc, unmute and fix appropriate test 2022-04-22 15:04:26 +02:00
Ilya Gorbunov 771eff503b stdlib-docs: Use local ext link to stdlib instead of default
When building kotlin.test docs, do not query kotlinlang.org
for stdlib package list, but use the one built locally beside.
This avoids build failures when the site is not available.
2022-02-05 06:21:49 +00:00
Ilya Gorbunov efa09cbd80 Update dokka version for building stdlib docs 2022-01-19 17:24:53 +03:00
Ilya Gorbunov 760e35d3b7 chore: update ant version for docs build 2021-12-02 20:59:46 +03:00
Ilya Gorbunov d726b00c33 stdlib-docs: Download dokka from teamcity 2021-08-24 10:48:35 +00:00
Ilya Gorbunov 64021f65e4 stdlib-docs: Allow to set dokka_version with property 2021-08-24 10:48:34 +00:00
Ilya Gorbunov aba0c715bd stdlib-docs: dokka can't stand windows path separator in sourcelink path 2021-08-24 10:48:34 +00:00
Ilya Gorbunov 3e82a20f16 stdlib-docs: update ant version 2021-08-24 10:48:34 +00:00
Mikhael Bogdanov a1bd728aef Update SNAPSHOT version in maven projects/tests 2021-07-29 19:45:57 +02:00
Abduqodiri Qurbonzoda 6db5fc0a23 Use teamcity kotlinLibsRepo and kotlinNativeDistDir parameters 2021-06-22 08:40:58 +00:00
Abduqodiri Qurbonzoda 013a7fe62d Rename the project from kotlin-dokka-stdlib to kotlin-stdlib-docs 2021-06-22 08:40:57 +00:00