Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing external docs for some AndroidX libraries #2456

Merged
merged 2 commits into from
Apr 25, 2022

Conversation

EdricChan03
Copy link
Contributor

Closes #2455

@IgnatBeresnev
Copy link
Member

IgnatBeresnev commented Apr 22, 2022

@EdricChan03 hi, thanks for the PR!

I've checked and it looks like the new /reference/kotlin/androidx/package-list has 87 more packages compared to the old /reference/androidx/package-list", and it's only additions.

Do you know what the difference between these two is? I'm worried that in the future some package will be included in /reference/androidx, but not in reference/kotlin/anroidx - is it possible?

Also, can you please fix the tests? You can run unit tests locally via /gradlew test -x integrationTest

@EdricChan03
Copy link
Contributor Author

EdricChan03 commented Apr 22, 2022

Do you know what the difference between these two is?

Doing a quick diff between the two files (exact command is delta <(curl https://developer.android.com/reference/androidx/package-list) <(curl https://developer.android.com/reference/kotlin/androidx/package-list) --line-numbers; delta being https://dandavison.github.io/delta/introduction.html) produces the following output:

(lines without numbers on the left are added lines)
───┐
1: │
───┘
  1 ⋮  1 │android.support.v4.media
  2 ⋮  2 │android.support.v4.media.session
  3 ⋮  3 │androidx.activity
    ⋮  4 │androidx.activity.compose
  4 ⋮  5 │androidx.activity.contextaware
  5 ⋮  6 │androidx.activity.result
  6 ⋮  7 │androidx.activity.result.contract

────┐
69: │
────┘
68 ⋮ 69 │androidx.car.app.versioning
69 ⋮ 70 │androidx.cardview.widget
70 ⋮ 71 │androidx.collection
⋮ 72 │androidx.compose.animation
⋮ 73 │androidx.compose.animation.core
⋮ 74 │androidx.compose.animation.graphics
⋮ 75 │androidx.compose.animation.graphics.res
⋮ 76 │androidx.compose.animation.graphics.vector
⋮ 77 │androidx.compose.foundation
⋮ 78 │androidx.compose.foundation.gestures
⋮ 79 │androidx.compose.foundation.interaction
⋮ 80 │androidx.compose.foundation.layout
⋮ 81 │androidx.compose.foundation.lazy
⋮ 82 │androidx.compose.foundation.lazy.grid
⋮ 83 │androidx.compose.foundation.lazy.layout
⋮ 84 │androidx.compose.foundation.relocation
⋮ 85 │androidx.compose.foundation.selection
⋮ 86 │androidx.compose.foundation.shape
⋮ 87 │androidx.compose.foundation.text
⋮ 88 │androidx.compose.foundation.text.selection
⋮ 89 │androidx.compose.material
⋮ 90 │androidx.compose.material.icons
⋮ 91 │androidx.compose.material.icons.filled
⋮ 92 │androidx.compose.material.icons.outlined
⋮ 93 │androidx.compose.material.icons.rounded
⋮ 94 │androidx.compose.material.icons.sharp
⋮ 95 │androidx.compose.material.icons.twotone
⋮ 96 │androidx.compose.material.ripple
⋮ 97 │androidx.compose.material3
⋮ 98 │androidx.compose.runtime
⋮ 99 │androidx.compose.runtime.collection
⋮ 100│androidx.compose.runtime.internal
⋮ 101│androidx.compose.runtime.livedata
⋮ 102│androidx.compose.runtime.rxjava2
⋮ 103│androidx.compose.runtime.rxjava3
⋮ 104│androidx.compose.runtime.saveable
⋮ 105│androidx.compose.runtime.snapshots
⋮ 106│androidx.compose.runtime.tooling
⋮ 107│androidx.compose.ui
⋮ 108│androidx.compose.ui.autofill
⋮ 109│androidx.compose.ui.draw
⋮ 110│androidx.compose.ui.focus
⋮ 111│androidx.compose.ui.geometry
⋮ 112│androidx.compose.ui.graphics
⋮ 113│androidx.compose.ui.graphics.colorspace
⋮ 114│androidx.compose.ui.graphics.drawscope
⋮ 115│androidx.compose.ui.graphics.painter
⋮ 116│androidx.compose.ui.graphics.vector
⋮ 117│androidx.compose.ui.hapticfeedback
⋮ 118│androidx.compose.ui.input
⋮ 119│androidx.compose.ui.input.key
⋮ 120│androidx.compose.ui.input.nestedscroll
⋮ 121│androidx.compose.ui.input.pointer
⋮ 122│androidx.compose.ui.input.pointer.util
⋮ 123│androidx.compose.ui.input.rotary
⋮ 124│androidx.compose.ui.layout
⋮ 125│androidx.compose.ui.modifier
⋮ 126│androidx.compose.ui.node
⋮ 127│androidx.compose.ui.platform
⋮ 128│androidx.compose.ui.res
⋮ 129│androidx.compose.ui.semantics
⋮ 130│androidx.compose.ui.state
⋮ 131│androidx.compose.ui.test
⋮ 132│androidx.compose.ui.test.junit4
⋮ 133│androidx.compose.ui.test.junit4.android
⋮ 134│androidx.compose.ui.text
⋮ 135│androidx.compose.ui.text.android
⋮ 136│androidx.compose.ui.text.font
⋮ 137│androidx.compose.ui.text.googlefonts
⋮ 138│androidx.compose.ui.text.input
⋮ 139│androidx.compose.ui.text.intl
⋮ 140│androidx.compose.ui.text.platform.extensions
⋮ 141│androidx.compose.ui.text.style
⋮ 142│androidx.compose.ui.tooling
⋮ 143│androidx.compose.ui.tooling.data
⋮ 144│androidx.compose.ui.tooling.preview
⋮ 145│androidx.compose.ui.tooling.preview.datasource
⋮ 146│androidx.compose.ui.unit
⋮ 147│androidx.compose.ui.util
⋮ 148│androidx.compose.ui.viewinterop
⋮ 149│androidx.compose.ui.window
71 ⋮ 150│androidx.concurrent.futures
72 ⋮ 151│androidx.contentpager.content
73 ⋮ 152│androidx.coordinatorlayout.widget

─────┐
230: │
─────┘
151⋮ 230│androidx.health.services.client.data
152⋮ 231│androidx.heifwriter
153⋮ 232│androidx.hilt.navigation
⋮ 233│androidx.hilt.navigation.compose
154⋮ 234│androidx.hilt.navigation.fragment
155⋮ 235│androidx.hilt.work
156⋮ 236│androidx.interpolator.view.animation

─────┐
247: │
─────┘
167⋮ 247│androidx.lifecycle
168⋮ 248│androidx.lifecycle.testing
169⋮ 249│androidx.lifecycle.viewmodel
⋮ 250│androidx.lifecycle.viewmodel.compose
170⋮ 251│androidx.loader.app
171⋮ 252│androidx.loader.content
172⋮ 253│androidx.localbroadcastmanager.content

─────┐
264: │
─────┘
183⋮ 264│androidx.mediarouter.testing
184⋮ 265│androidx.metrics.performance
185⋮ 266│androidx.navigation
⋮ 267│androidx.navigation.compose
186⋮ 268│androidx.navigation.dynamicfeatures
187⋮ 269│androidx.navigation.dynamicfeatures.fragment
188⋮ 270│androidx.navigation.dynamicfeatures.fragment.ui

─────┐
272: │
─────┘
190⋮ 272│androidx.navigation.testing
191⋮ 273│androidx.navigation.ui
192⋮ 274│androidx.paging
⋮ 275│androidx.paging.compose
193⋮ 276│androidx.paging.rxjava2
194⋮ 277│androidx.paging.rxjava3
195⋮ 278│androidx.palette.graphics

─────┐
315: │
─────┘
232⋮ 315│androidx.viewpager2.widget
233⋮ 316│androidx.wear.activity
234⋮ 317│androidx.wear.ambient
⋮ 318│androidx.wear.compose.foundation
⋮ 319│androidx.wear.compose.material
⋮ 320│androidx.wear.compose.material.dialog
⋮ 321│androidx.wear.compose.navigation
235⋮ 322│androidx.wear.input
236⋮ 323│androidx.wear.input.testing
237⋮ 324│androidx.wear.ongoing

TL;DR: Here's a list of additional packages included in the kotlin version:

  • androidx.activity.compose
  • androidx.compose.*
  • androidx.hilt.navigation.compose
  • androidx.lifecycle.viewmodel.compose
  • androidx.navigation.compose
  • androidx.paging.compose
  • androidx.wear.compose.*
    From what I can tell it's mostly just packages which are specifically meant for Jetpack Compose

I'm worried that in the future some package will be included in /reference/androidx, but not in reference/kotlin/anroidx - is it possible?

I don't think that would happen, unless something really goes wrong with the way that the package list would be generated, or if a library somehow isn't compatible with Kotlin 😅

Also, can you please fix the tests? You can run unit tests locally via /gradlew test -x integrationTest

Done

Copy link
Member

@vmishenev vmishenev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great if Dokka used /reference/androidx for links from Java code and reference/kotlin/anroidx from Kotlin. Currently, it is impossible by design of external link (see #2272).

From what I can tell it's mostly just packages which are specifically meant for Jetpack Compose

Yes. Jetpack Compose does not have Java documentation.
I suppose using Kotlin external link (reference/kotlin/anroidx) is reasonable (at least before a design fix) since Dokka are mostly a documentation engine for Kotlin.

@IgnatBeresnev
Copy link
Member

IgnatBeresnev commented Apr 25, 2022

Yes. Jetpack Compose does not have Java documentation.

Oh, so /reference/androidx/package-list is supposedly for java, whereas reference/kotlin/anroidx is for kotlin. That makes sense!

@IgnatBeresnev
Copy link
Member

Thank you for the contribution!

@IgnatBeresnev IgnatBeresnev merged commit 6f78572 into Kotlin:master Apr 25, 2022
@EdricChan03 EdricChan03 deleted the fix/androidx-kotlin branch May 3, 2022 09:58
kodiakhq bot referenced this pull request in RBusarow/Dispatch Jul 16, 2022
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.jetbrains.dokka](https://togithub.com/Kotlin/dokka) | `1.5.31` -> `1.7.10` | [![age](https://badges.renovateapi.com/packages/maven/org.jetbrains.dokka/1.7.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.jetbrains.dokka/1.7.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.jetbrains.dokka/1.7.10/compatibility-slim/1.5.31)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.jetbrains.dokka/1.7.10/confidence-slim/1.5.31)](https://docs.renovatebot.com/merge-confidence/) |
| [org.jetbrains.dokka:dokka-gradle-plugin](https://togithub.com/Kotlin/dokka) | `1.5.31` -> `1.7.10` | [![age](https://badges.renovateapi.com/packages/maven/org.jetbrains.dokka:dokka-gradle-plugin/1.7.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.jetbrains.dokka:dokka-gradle-plugin/1.7.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.jetbrains.dokka:dokka-gradle-plugin/1.7.10/compatibility-slim/1.5.31)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.jetbrains.dokka:dokka-gradle-plugin/1.7.10/confidence-slim/1.5.31)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>Kotlin/dokka</summary>

### [`v1.7.10`](https://togithub.com/Kotlin/dokka/releases/tag/v1.7.10)

Bugfix release that addresses several blockers and regressions.

##### General

-   Support `Kotlin` 1.7.10

##### Gradle plugin

-   Do not expose `Kotlin` stdlib in plugin dependencies, this should fix errors like `Module was compiled with an incompatible version of Kotlin` when using `Dokka`. Thanks to [@&#8203;martinbonnin](https://togithub.com/martinbonnin) ([#&#8203;2543](https://togithub.com/Kotlin/dokka/issues/2543))

##### Java sources

-   Fixed build failure caused by having configured source links for `Java` code ([#&#8203;2544](https://togithub.com/Kotlin/dokka/issues/2544))
-   Fixed several exotic problems that led to build failures, all related to using annotation in `Java` sources ([#&#8203;2509](https://togithub.com/Kotlin/dokka/issues/2509), [#&#8203;2551](https://togithub.com/Kotlin/dokka/issues/2551), [#&#8203;2350](https://togithub.com/Kotlin/dokka/issues/2350))
-   Fixed `IntelliJ` platform `WARN: Attempt to load key` messages that appeared when analyzing `Java` sources ([#&#8203;2559](https://togithub.com/Kotlin/dokka/issues/2559))

### [`v1.7.0`](https://togithub.com/Kotlin/dokka/releases/tag/v1.7.0)

##### Improvements

##### General

-   Update to `Kotlin` 1.7.0, `IntelliJ` Platform 213
-   Support [definitely non-nullable types](https://kotlinlang.org/docs/whatsnew17.html#stable-definitely-non-nullable-types) ([https://github.com/Kotlin/dokka/pull/2520](https://togithub.com/Kotlin/dokka/pull/2520))
-   Don't expose enum entry constructor arguments, thanks to [@&#8203;ebraminio](https://togithub.com/ebraminio) ([https://github.com/Kotlin/dokka/pull/2497](https://togithub.com/Kotlin/dokka/pull/2497))
-   Preserve ordering of enum entries as in source code, previously reversed ([https://github.com/Kotlin/dokka/pull/2469](https://togithub.com/Kotlin/dokka/pull/2469))
-   Improve support for inherited `Java` fields with accessors, now properly interpreted as `val`/`var` properties ([https://github.com/Kotlin/dokka/pull/2481](https://togithub.com/Kotlin/dokka/pull/2481), [https://github.com/Kotlin/dokka/pull/2532](https://togithub.com/Kotlin/dokka/pull/2532), [https://github.com/Kotlin/dokka/pull/2540](https://togithub.com/Kotlin/dokka/pull/2540))
-   Skip `@Deprecated` members with `HIDDEN` level ([https://github.com/Kotlin/dokka/pull/2486](https://togithub.com/Kotlin/dokka/pull/2486))
-   Make rendered default value dependent on source set for expect/actual declarations ([https://github.com/Kotlin/dokka/pull/2449](https://togithub.com/Kotlin/dokka/pull/2449))

##### HTML format

-   Render quotes as blockquotes instead of code blocks, thanks to [@&#8203;TheOnlyTails](https://togithub.com/TheOnlyTails) ([https://github.com/Kotlin/dokka/pull/2496](https://togithub.com/Kotlin/dokka/pull/2496))

##### Javadoc format

-   Make `Javadoc` pages generation deterministic ([https://github.com/Kotlin/dokka/pull/2479](https://togithub.com/Kotlin/dokka/pull/2479))
-   Update shipped `jQuery` to avoid multiple CVEs, thanks to [@&#8203;ToppleTheNun](https://togithub.com/ToppleTheNun) ([https://github.com/Kotlin/dokka/issues/1938](https://togithub.com/Kotlin/dokka/issues/1938))

##### GFM format

-   Support rendering of code blocks and inline code used in KDocs, thanks to [@&#8203;cosinekitty](https://togithub.com/cosinekitty) ([https://github.com/Kotlin/dokka/pull/2485](https://togithub.com/Kotlin/dokka/pull/2485))

##### Kotlin-as-Java plugin

-   Include `Java` access modifiers into function signatures, thanks to [@&#8203;tripolkaandrey](https://togithub.com/tripolkaandrey) ([https://github.com/Kotlin/dokka/pull/2510](https://togithub.com/Kotlin/dokka/pull/2510))

##### Gradle runner

-   Make `dokka-analysis` dependency `compileOnly`, this should help avoid compatibility problems if different versions of `Kotlin` are bundled in `Gradle` and `Dokka` ([https://github.com/Kotlin/dokka/pull/2521](https://togithub.com/Kotlin/dokka/pull/2521))
-   Enable stricter validation for cacheable `Gradle` tasks, thanks to [@&#8203;3flex](https://togithub.com/3flex) ([https://github.com/Kotlin/dokka/pull/2500](https://togithub.com/Kotlin/dokka/pull/2500))
-   Remove unused & redundant dependencies for `Gradle` runner, thanks to [@&#8203;3flex](https://togithub.com/3flex) ([https://github.com/Kotlin/dokka/pull/2502](https://togithub.com/Kotlin/dokka/pull/2502))
-   Remove outdated suppression in `Gradle` runner, thanks to [@&#8203;3flex](https://togithub.com/3flex) ([https://github.com/Kotlin/dokka/pull/2501](https://togithub.com/Kotlin/dokka/pull/2501))

##### Fixes

##### General bugfixes

-   Fixed a compiler deadlock issue which led to stalling builds in some KMP projects ([https://github.com/Kotlin/dokka/pull/2480](https://togithub.com/Kotlin/dokka/pull/2480))
-   Fixed incorrect argument names of functional type parameters ([https://github.com/Kotlin/dokka/pull/2478](https://togithub.com/Kotlin/dokka/pull/2478))
-   Fixed missing external docs for AndroidX libraries, thanks to [@&#8203;EdricChan03](https://togithub.com/EdricChan03) ([https://github.com/Kotlin/dokka/pull/2456](https://togithub.com/Kotlin/dokka/pull/2456))
-   Fixed tests failing on Windows, thanks to [@&#8203;3flex](https://togithub.com/3flex) ([https://github.com/Kotlin/dokka/pull/2507](https://togithub.com/Kotlin/dokka/pull/2507))

##### Security

-   Get rid of bundled `log4j` 1.2 that came as a transitive dependency ([https://github.com/Kotlin/dokka/issues/2488](https://togithub.com/Kotlin/dokka/issues/2488))
-   Update Jackson to avoid [CVE-2020-36518](https://nvd.nist.gov/vuln/detail/CVE-2020-36518), thanks to [@&#8203;1mt](https://togithub.com/1mt) ([https://github.com/Kotlin/dokka/pull/2525](https://togithub.com/Kotlin/dokka/pull/2525))

##### Plugin API

-   Decompose `base.ftl` template: now `header.ftl`, `footer.ftl` and `page_metadata.ftl` can be overridden individually ([https://github.com/Kotlin/dokka/pull/2432](https://togithub.com/Kotlin/dokka/pull/2432))

##### Other

-   Add Kotlin stability & support badges, thanks to [@&#8203;etolstoy](https://togithub.com/etolstoy) ([https://github.com/Kotlin/dokka/pull/2511](https://togithub.com/Kotlin/dokka/pull/2511))
-   Remove an unused runner parameter, thanks to [@&#8203;3flex](https://togithub.com/3flex) ([https://github.com/Kotlin/dokka/pull/2498](https://togithub.com/Kotlin/dokka/pull/2498))
-   Correct typos, thanks to [@&#8203;PaladiRka](https://togithub.com/PaladiRka) ([https://github.com/Kotlin/dokka/pull/2504](https://togithub.com/Kotlin/dokka/pull/2504)) and [@&#8203;mahozad](https://togithub.com/mahozad) ([https://github.com/Kotlin/dokka/pull/2506](https://togithub.com/Kotlin/dokka/pull/2506))!

Thanks to all the contributors!

### [`v1.6.21`](https://togithub.com/Kotlin/dokka/releases/tag/v1.6.21)

This is a bugfix release that mostly enables building documentation for multiplatform projects that utilize `.klib` libraries.

##### Changes

-   Support Kotlin 1.6.21
-   Update `jsoup` dependency to avoid [CVE-2021-37714](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37714) ([#&#8203;2448](https://togithub.com/Kotlin/dokka/issues/2448))

##### Bugfixes

-   Support `KLIB` libraries for common platform, previously led to `ERROR CLASS` instead of references in documentation ([#&#8203;2441](https://togithub.com/Kotlin/dokka/issues/2441))
-   Fixed a maven plugin build problem related to coroutines which only occurred in multi-module builds ([#&#8203;2461](https://togithub.com/Kotlin/dokka/issues/2461))

### [`v1.6.20`](https://togithub.com/Kotlin/dokka/releases/tag/v1.6.20)

#### Features

-   Introduce `documentedVisibilities` setting that allows including/excluding any visibility modifier in documentation. This is a more flexible replacement for `includeNonPublic`, which has now been deprecated ([https://github.com/Kotlin/dokka/pull/2270](https://togithub.com/Kotlin/dokka/pull/2270))
-   Make HTML pages customizable through FreeMarker HTML templates ([https://github.com/Kotlin/dokka/pull/2374](https://togithub.com/Kotlin/dokka/pull/2374))
-   Add global settings to JSON dokka CLI input ([https://github.com/Kotlin/dokka/pull/2292](https://togithub.com/Kotlin/dokka/pull/2292)), thanks to [@&#8203;BarkingBad](https://togithub.com/BarkingBad)!

#### HTML format changes

-   Add vertical alignment (wrapping) of signatures when 3 and more parameters are present ([https://github.com/Kotlin/dokka/pull/2309](https://togithub.com/Kotlin/dokka/pull/2309))
-   Enhance primary constructor signature, display `val`/`var` keywords and default values ([https://github.com/Kotlin/dokka/pull/2313](https://togithub.com/Kotlin/dokka/pull/2313))
-   Add a level of indentation to childless items in navigation tree ([https://github.com/Kotlin/dokka/pull/2291](https://togithub.com/Kotlin/dokka/pull/2291))
-   Add horizontal margin to breadcrumbs delimiter ([https://github.com/Kotlin/dokka/pull/2285](https://togithub.com/Kotlin/dokka/pull/2285))
-   Fixed various CSS rendering issues ([https://github.com/Kotlin/dokka/pull/2284](https://togithub.com/Kotlin/dokka/pull/2284), [https://github.com/Kotlin/dokka/pull/2389](https://togithub.com/Kotlin/dokka/pull/2389))

#### Bugfixes

-   Fixed `OutOfMemoryError: Metaspace`-related issues for the majority of cases ([https://github.com/Kotlin/dokka/pull/2216](https://togithub.com/Kotlin/dokka/pull/2216))
-   Fixed classpath issues for HMPP libraries ([https://github.com/Kotlin/dokka/pull/2431](https://togithub.com/Kotlin/dokka/pull/2431))
-   Using `@` symbol within code blocks in `.md` files doesn't lead to cropped documents anymore ([https://github.com/Kotlin/dokka/pull/2418](https://togithub.com/Kotlin/dokka/pull/2418))
-   Fixed incorrect placement of HTML head tags, which led to missing favicon in multi-module projects ([https://github.com/Kotlin/dokka/pull/2365](https://togithub.com/Kotlin/dokka/pull/2365))
-   Fixed resolution of ultralight methods that led to flaky signature generation ([https://github.com/Kotlin/dokka/pull/2400](https://togithub.com/Kotlin/dokka/pull/2400))
-   Coroutines dispatchers are now shut down after each module pass to avoid resource leaks ([https://github.com/Kotlin/dokka/pull/2325](https://togithub.com/Kotlin/dokka/pull/2325))
-   Suppressed property setters are now excluded from documentation ([https://github.com/Kotlin/dokka/pull/2220](https://togithub.com/Kotlin/dokka/pull/2220))
-   Suppressing extensions doesn't fail builds anymore ([https://github.com/Kotlin/dokka/pull/2348](https://togithub.com/Kotlin/dokka/pull/2348)), thanks to [@&#8203;BarkingBad](https://togithub.com/BarkingBad)!
-   Fixed java getter / setter name generation for kotlin-java interop, now `isBoolean` instead of `getBoolean` ([https://github.com/Kotlin/dokka/pull/2356](https://togithub.com/Kotlin/dokka/pull/2356)), thanks to [@&#8203;CharlesG-Branch](https://togithub.com/CharlesG-Branch)!
-   Fixed MathJax plugin, previously completely broken ([https://github.com/Kotlin/dokka/pull/2342](https://togithub.com/Kotlin/dokka/pull/2342)), thanks to [@&#8203;wyskoj](https://togithub.com/wyskoj)!
-   Fixed Input/Output streams to minimize resource leaks ([https://github.com/Kotlin/dokka/pull/2312](https://togithub.com/Kotlin/dokka/pull/2312), [https://github.com/Kotlin/dokka/pull/2319](https://togithub.com/Kotlin/dokka/pull/2319))

#### Plugin API Changes

-   Add an extension point for rendering custom [documentation tags](https://kotlinlang.org/docs/kotlin-doc.html#block-tags) ([https://github.com/Kotlin/dokka/pull/2343](https://togithub.com/Kotlin/dokka/pull/2343))
-   Add an extension point for an external documentable provider ([https://github.com/Kotlin/dokka/pull/2307](https://togithub.com/Kotlin/dokka/pull/2307)), thanks to [@&#8203;Kordyjan](https://togithub.com/Kordyjan)!
-   Add filtering stategies extension point and fix constructors in Kotlin-as-Java ([https://github.com/Kotlin/dokka/pull/2277](https://togithub.com/Kotlin/dokka/pull/2277)), thanks to [@&#8203;BarkingBad](https://togithub.com/BarkingBad)!
-   Expose Kotlin-as-Java methods that could be used not only as part of transformers ([https://github.com/Kotlin/dokka/pull/2351](https://togithub.com/Kotlin/dokka/pull/2351)), thanks to [@&#8203;BarkingBad](https://togithub.com/BarkingBad)!
-   Refactor Ancestry Graphs ([https://github.com/Kotlin/dokka/pull/2326](https://togithub.com/Kotlin/dokka/pull/2326)), thanks to [@&#8203;BarkingBad](https://togithub.com/BarkingBad)!
-   Fixed resolving of DRIs for Enum Entries ([https://github.com/Kotlin/dokka/pull/2305](https://togithub.com/Kotlin/dokka/pull/2305)), thanks to [@&#8203;BarkingBad](https://togithub.com/BarkingBad)!

#### General Improvements

-   Collect annotations from `package-info.java` ([https://github.com/Kotlin/dokka/pull/2331](https://togithub.com/Kotlin/dokka/pull/2331)), thanks  to [@&#8203;ember-rose](https://togithub.com/ember-rose)!
-   Add support for header tags (`<h1>` / `<h2>` / `<h3>`) in Javadoc ([https://github.com/Kotlin/dokka/pull/2345](https://togithub.com/Kotlin/dokka/pull/2345)), thanks to [@&#8203;asfalcone](https://togithub.com/asfalcone)!
-   Add an option to merge implicit expect-actual declarations, enables merging of pages for related declarations which are not connected via `expect`-`actual` keywords ([https://github.com/Kotlin/dokka/pull/2316](https://togithub.com/Kotlin/dokka/pull/2316))
-   Add a note about using Dokka in a precompiled script plugin ([https://github.com/Kotlin/dokka/pull/2303](https://togithub.com/Kotlin/dokka/pull/2303)), thanks to [@&#8203;chkpnt](https://togithub.com/chkpnt)!
-   Fixed wrong Groovy DSL example ([https://github.com/Kotlin/dokka/pull/2302](https://togithub.com/Kotlin/dokka/pull/2302)), thanks to [@&#8203;chkpnt](https://togithub.com/chkpnt)!
-   Various code cleanups ([https://github.com/Kotlin/dokka/pull/2165](https://togithub.com/Kotlin/dokka/pull/2165), [https://github.com/Kotlin/dokka/pull/2360](https://togithub.com/Kotlin/dokka/pull/2360), [https://github.com/Kotlin/dokka/pull/2364](https://togithub.com/Kotlin/dokka/pull/2364), [https://github.com/Kotlin/dokka/pull/2385](https://togithub.com/Kotlin/dokka/pull/2385)), thanks to [@&#8203;Goooler](https://togithub.com/Goooler)!

#### Known issues

-   Kotlin Multiplatform projects that use `.klib` libraries may experience problems. There will be a separate `1.6.21` release that will address this issue shortly.

### [`v1.6.10`](https://togithub.com/Kotlin/dokka/releases/tag/v1.6.10)

#### Changes

-   Support Kotlin 1.6.10
-   Add a sample project for versioning multi-module ([https://github.com/Kotlin/dokka/pull/2170](https://togithub.com/Kotlin/dokka/pull/2170))

#### Bugfixes

-   Fix various `java.util.zip.ZipException` for JS dependencies ([https://github.com/Kotlin/dokka/pull/2258](https://togithub.com/Kotlin/dokka/pull/2258))
-   Fix handling of Description Lists (`<dl>`) used in JavaDocs ([https://github.com/Kotlin/dokka/pull/2259](https://togithub.com/Kotlin/dokka/pull/2259))
-   Fix for "repositories not defined" issue in versioning multimodule example ([https://github.com/Kotlin/dokka/pull/2263](https://togithub.com/Kotlin/dokka/pull/2263)), thanks [@&#8203;rajdeep1008](https://togithub.com/rajdeep1008)!
-   Fix multiple rendering issues for "See Also" block for html format ([https://github.com/Kotlin/dokka/pull/2267](https://togithub.com/Kotlin/dokka/pull/2267))
-   Fix sample body not being embedded to documentation ([https://github.com/Kotlin/dokka/pull/2216](https://togithub.com/Kotlin/dokka/pull/2216))

#### Maintenance

-   Update npm dependencies ([https://github.com/Kotlin/dokka/pull/2251](https://togithub.com/Kotlin/dokka/pull/2251))
-   Bump `de.undercouch.download` to 4.1.2 ([https://github.com/Kotlin/dokka/pull/2268](https://togithub.com/Kotlin/dokka/pull/2268))
-   Bump `kotlinx.coroutines` to 1.6.0 in integration tests ([https://github.com/Kotlin/dokka/pull/2276](https://togithub.com/Kotlin/dokka/pull/2276))

### [`v1.6.0`](https://togithub.com/Kotlin/dokka/releases/tag/v1.6.0)

Changes:

-   **New UI**
-   Support of version plugin for single module projects
-   Allow package-level suppression ([#&#8203;2209](https://togithub.com/Kotlin/dokka/issues/2209)), thanks [@&#8203;owengray-google](https://togithub.com/owengray-google)
-   GFM: Use Markdown syntax to render lists ([#&#8203;2098](https://togithub.com/Kotlin/dokka/issues/2098)), thanks [@&#8203;sgilson](https://togithub.com/sgilson)
-   Fix names of nested inheritors
-   Fix adding new custom stylesheets in submodules
-   Add keywords `expect` and `actual` in signatures

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/RBusarow/Dispatch).

PR-URL: #488
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generated docs don't include API links to Jetpack Compose libraries by default
4 participants