Skip to content

[K2] Support generating documentation for stdlib #3354

Open
@vmishenev

Description

Currently, it is blocked by #3137 and (possible) https://youtrack.jetbrains.com/issue/KT-56076/K2-build-Kotlin-standard-library

StdLib is a specific Kotlin library that can require supporting extra flags to analyse and build the documentation. For example, in Dokka K1 the flag ignoreCommonBuiltIns should be enabled to analyse stdlib.

Dokka K2 should have the possibility to generate correct documentation for stdlib.
The result documentation should have no difference from the output generated by Dokka K1.

Technical details

It can require enabling AnalysisFlags.allowKotlinPackage in the Analysis API. Also, extra analysis flags can be needed.

Metadata

Assignees

Labels

bugtopic: K2Issues / PRs that are related to the K2 migration. See #2888

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions