aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
AgeCommit message (Collapse)Author
2023-08-28 Support Dokka K2 analysis (#3094)Vadim Mishenev
Dokka has its own documentable model to represent analyzed code. The analysis is performed by a compiler frontend. In K1 the compiler frontend has descriptors that use the underlying Binding Context (global shared stateful structure). Dokka just maps descriptors to Documentable by DefaultDescriptorToDocumentableTranslator. K2 compiler has FIR tree, which means “Frontend Intermediate Representation”, instead of Binding Context. But we do not use FIR in Dokka directly, since it is too low-level for analysis. The Kotlin compiler provides high-level Analysis API for this case. The API is used by KSP too. Analysis API represent elements of FIR (declarations, parameters and so on) as Symbols. For more details see KtSymbolByFirBuilder, KtSymbol. For Dokka symbol is the replacement of descriptor in K2. Also, to set up the environment of project analysis in K1 we use idea dependencies (or copy-past from there). In K2 for these aims, there is a Standalone mode for Analysis API.
2023-08-14Refactor and document DisplaySourceSet, deprecate ↵Vsevolod Tolstopyatov
SelfRepresentingSingletonSet (#3105) * Deprecate internal API SelfRepresentingSingletonSet for removal as being harmful and unimplement it in DisplaySourceSet * Provide no automatic migration for DisplaySourceSet, as there are no mechanisms for that. Manual migration is the replacement of 'dss' to `setOf(dss)` where applicable * Introduce a convenience-member DefaultRenderer.buildContentNode to avoid wrapping DSS into set manually * Document DisplaySourceSet * Replace Iterable<DisplaySourceSet>.sourceSetIDs with more straightforward Iterable<DisplaySourceSet>.computeSourceSetIds(), refactor all the usages, save some allocations * Start caching CompositeSourceSetID properties to avoid excessive allocations * Update integration tests on the latest revision with Knit version where the workaround is applied Fixes #2897
2023-08-08Fix and refactor Sample Transformer (#3102)Vadim Mishenev
2023-08-04Reintroduce removed analysis APIs with a deprecation message (#3104)Ignat Beresnev
2023-08-04Add scroll to tables viewed from mobile devices (#3082)Konstantin Chernenko
2023-08-04Fix handling of Java contravariance (#3092)Julia McClellan
2023-08-02Fix Kotlin Analysis API package name (#3100)Ignat Beresnev
2023-07-26Fix some tests to be compatible with K2 (#3086)Vadim Mishenev
2023-07-21Add tests for parsing data objects (#3076)Ignat Beresnev
2023-07-17Hardcode documentation for the synthetic Enum.entries property (#3071)Ignat Beresnev
2023-07-07Do not leak unknown asset paths into HTML (#3061)Ignat Beresnev
Fixes #3040
2023-07-07Remove a copy-pasted function (#3060)Ignat Beresnev
2023-07-06HTML: fix of redundant dot and related autotest (#2289) (#3057)Denis Ambatenne
* HTML: fix of redundant dot and related autotest (#2289) * Update plugins/base/src/test/kotlin/renderers/html/SearchbarDataInstallerTest.kt Change after the PR #3057 review Co-authored-by: Ignat Beresnev <ignat.beresnev@jetbrains.com> * Change after the PR #3057 review Co-authored-by: Ignat Beresnev <ignat.beresnev@jetbrains.com> --------- Co-authored-by: Denis Ambatenne <denis.ambatenne@jetbrains.com> Co-authored-by: Ignat Beresnev <ignat.beresnev@jetbrains.com>
2023-07-05Decompose Kotlin/Java analysis (#3034)Ignat Beresnev
* Extract analysis into separate modules
2023-07-03Enhance typealias presentation (#3053)Vadim Mishenev
2023-06-30Generate dedicated pages for typealiases (#3051)Vadim Mishenev
2023-06-01Multi-param Java methods should not qualify for a setter (#3002)Ignat Beresnev
2023-05-31Fix missing tab entries for module names with space (#3019)Ignat Beresnev
2023-05-31Add support for `@author`, `@since`, `@return` Javadoc tags (#2967)irina-turova
2023-05-30Incorrectly handles a click on a method and other elements in the mobile ↵Konstantin Chernenko
version (#3021)
2023-05-30KTL-982; redundant spacing for tabs (#3018)Konstantin Chernenko
2023-05-30Use JetBrains Sans as default font (#3017)Konstantin Chernenko
2023-05-30disable showing this "copy anchor" popup if JS is disabled (#3020)Konstantin Chernenko
2023-05-26Improve copying base-frontend files between subprojects (#2970)Adam
2023-05-24update mobile view and some bugs (#2836)Konstantin Chernenko
* Fix dark theme bugs: mobile TOC is visible on 1px and has white background, menu icon is black * Refactoring css styles for header controls * Change header responsive layout * Change header responsive layout * Fix scrollable columns for any header size * Remove main content mobile spacing * Change style for platform filters and labels * Fix: add burger icon into dist * Fix: long code token in mobile view * Fix: color in filter selector * Fix: long token in keyValue for desktop * Fix: add spacing for iPad Mini * Fix: dropdown for multiple versions * update platform brand colors * Fix: sample spacing, blockquote, playground initialize * Safari fix outline for platform tags * Fix non-js main content for better SEO * Fix outline for safari browser * Add consistent vertical spacing for header. It should normalize subpixel artifacts and centred content. * Update manual for custom logo * Add comment for playground * Hide copy button for non-js user * fix; use google fonts * feat; change style for platform in platform-tags * Revert Inter as defult font * Add breaks for CONSTANTS * incorrect non-js script position * less specific selector for article links
2023-05-17Update KGP to 1.8.20 (#2989)Vadim Mishenev
* Update KGP to 1.8.20 * Update AGP to be compatible with KGP * Replace `AndroidSourceSet` * Dump API * Update integration tests * Update GH actions tests * Refactor Gradle Runner * Fix `TYPE_MISMATCH_WARNING_FOR_INCORRECT_CAPTURE_APPROXIMATION` * Suppress source sets without compilations Dokka suppresses source sets that do no have compilation since such configuration is invalid, it reports a warning or an error * Introduce `dependsOn` for a new `com.android.build.api.dsl.AndroidSourceSet` * API dump * Add comment * Suppress remaining `TYPE_MISMATCH_WARNING_FOR_INCORRECT_CAPTURE_APPROXIMATION` * Add comment --------- Co-authored-by: Ignat Beresnev <ignat.beresnev@jetbrains.com>
2023-04-25Replace invalid documentation links (#2973)Lukas Knoch-Girstmair
2023-04-25Tidy/remove unnecessary imports and suppressions (#2975)aSemy
2023-04-07Move the `Properties` block to be above `Functions` (#2908)Ignat Beresnev
2023-03-27Mark utilities.* API as Dokka-internal (#2937)Vsevolod Tolstopyatov
* Deprecate unused declaration, remove inline declaration (as it's binary compatible), opt-in into internal API at project level * Opt-in into DokkaInternalApi where applicable * Get rid of intermediate test-utils module
2023-03-21Improve JavadocParser and fix case-sensitivity (#2905)Vsevolod Tolstopyatov
* Get rid of safeEnumValueOf that was an unnecessary public API burden and constantly allocating * Restructure JavadocParser.parseDocTag, so it has one lever of nesting less * Make tag parsing case-sensitive Fixes #2907
2023-03-20Use cache-redirector for nodejs distributions (#2927)Ignat Beresnev
2023-03-17Introduce Gradle Version Catalog with type-safe project dependencies (#2884)aSemy
2023-03-15Bump webpack to 5.76.0dependabot[bot]
Bumps [webpack](https://github.com/webpack/webpack) from 5.64.4 to 5.76.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.64.4...v5.76.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13Migrate buildSrc to composite build (#2912)Goooler
2023-03-08Improve performance of 'parseWithNormalisedSpaces' that is unconditionally ↵Vsevolod Tolstopyatov
invoked for each HTML text element (#2730) Addresses #2729
2023-03-07Use buildSrc convention plugins to configure the Dokka subprojects (#2704)aSemy
2023-03-03Do no render Types tab when there are no types (#2900)Vadim Mishenev
2023-02-28Bump npm dependencies with vulnerabilities (#2894)Ignat Beresnev
* Bumps loader-utils from 1.4.0 to 1.4.2 * Bumps json5 from 1.0.1 to 1.0.2 * Bumps qs from 6.7.0 to 6.11.0 * Bumps express from 4.17.1 to 4.18.2 * Bumps minimatch from 3.0.4 to 3.1.2 * Bumps terser from 5.10.0 to 5.14.2 * Bumps angular
2023-02-28Fix unresolved link to declaration from another source set (#2878)Vadim Mishenev
2023-02-24Mark Plugin Api as experimental (#2743)Vadim Mishenev
2023-02-24Reorganize tabs for Classlike (#2764)Vadim Mishenev
2023-02-20Change default logging level of console apps (#2871)Ignat Beresnev
2023-02-17Consistent alphabetical order of element groups in index and navigation (#2861)ilya-g
* Sort groups of divergent elements by their key first ignoring case, then preserving it * Add tests for sorting groups and navigation
2023-02-14Do not render filter-section for empty source sets (#2858)Ignat Beresnev
Regression from #2848
2023-02-13Set default SinceKotlin version for Wasm platformIlya Gorbunov
2023-02-10Display source set / platform indicators at all times (#2848)Ignat Beresnev
Fixes #2847
2023-02-10Sort divergent elements deterministically (#2846)Ignat Beresnev
Fixes #2784
2023-02-10Update Kotlin to 1.8.10 (#2797)Ignat Beresnev
2023-02-09Remove old test data (#2824)Ignat Beresnev