aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/transformers
AgeCommit message (Collapse)Author
2023-10-25[K2] Reorganize project model for MPP (#3236)Vadim Mishenev
* Reorganize project model for MPP We map Dokka's source set directly to a source module of Analysis API inside one Analysis Standalone session. Analysis API session is created in src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/symbols/plugin/KotlinAnalysis.kt (see fun createAnalysisSession) Before the PR, one Dokka's source set corresponded to one Standalone API session with one source module that has source roots from dependent source sets. * Add 'caffeine' dependency from Analysis API * Fix sample provider * Fix tests * Enable tests and update the version of Analysis API. The PR allows the enabling of some tests annotated with OnlyDescriptorsMPP. Also, tests with OnlyDescriptorsMPP that have unresolved common symbols are fixed by the new version of Analysis API.
2023-10-24[K2] Enable Java tests for symbols (#3203)Vadim Mishenev
2023-10-10[K2] Display enum entry members (#3180)Vadim Mishenev
2023-08-31Update copyright (#3149)Ignat Beresnev
* Add the default copyright profile and enable IDEA project settings * Add the license notice file
2023-08-30Migrate to JUnit 5 and unify used test API (#3138)Ignat Beresnev
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-02Fix Kotlin Analysis API package name (#3100)Ignat Beresnev
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-04-25Replace invalid documentation links (#2973)Lukas Knoch-Girstmair
2023-02-24Reorganize tabs for Classlike (#2764)Vadim Mishenev
2023-02-20Change default logging level of console apps (#2871)Ignat Beresnev
2023-01-19Add module and package documentation content (#2819)Sarah Haggarty
Co-authored-by: Sarah Haggarty <sarahhaggarty@users.noreply.github.com>
2022-10-26Fix source link to the line with name (#2724)Vadim Mishenev
2022-05-13Render quotes as blockquotes instead of code blocks. (#2496)TheOnlyTails
2022-04-29Enable warnings as errors and fix all warnings (#2451)Ignat Beresnev
* Enable warnings as errors and fix all warnings * Enable skip-metadata-version-check compiler setting
2022-02-21Add option to merge implicit expect-actual declarations (#2316)Vadim Mishenev
* Add option to merge implicit expect-actual declarations * Merge entries, constructors * Fix StdLib integration test * Add doc
2022-02-21Code cleanups (#2165)Goooler
2021-12-23Introduce documentedVisibilities setting (#2270)Ignat Beresnev
* Introduce `documentedVisibilities` setting * Remove hardcoded doc generation for Visibility.PUBLIC, correct tests * Add maven, gradle and cli integration tests for documentedVisibilities * Fix maven plugin configuration overriding the default value * Remove test debug prints * Correct an inconsistency with default values and leave a comment of intentions * Add a test for visibility of private setter
2021-12-23Allow filtering of property setter (#2220)Vadim Mishenev
* Allow filtering of property setter * Improve code style
2021-12-07Support deeply nested description terms and detailsIgnat Beresnev
2021-12-06Description list support for JavaDocs (#2213)Ignat Beresnev
2021-06-22Logging in CLI (#1976)Marcin Aman
2021-05-06Fix line separator issues (#1887)Ryan Nett
* Fix line separator issues * Test fix * Handle just CR as well, add better test * Add escaped \r\n to tests
2021-04-21Fix suppressing enum entries by inheritance filter (#1866)Marcin Aman
2021-04-06Suppress inherited members (#1814)Marcin Aman
2021-03-04Obvious functions should also work for interfaces (#1763)Marcin Aman
2021-03-01Add ability to suppress obvious functions like equals, toString... (#1758)Marcin Aman
* Add ability to suppress obvious functions like equals, toString... * Add ability to suppress obvious functions like equals, toString...
2021-03-01Add explicit exceptions in markdown and allow for empty link destinations ↵Marcin Aman
(#1757)
2021-03-01Suppress tag support (#1742)Marcin Aman
* Suppress tag support * Support Hide tag in javadoc * Extract hide tag to be in separate plugin
2021-02-16Fix displaying default java visibility (#1738)Marcin Aman
2020-11-27Adding multimodule all modules page creation for gfmBłażej Kardyś
2020-11-27Fixing tests after moving SingleGeneration to baseBłażej Kardyś
2020-11-18Add matchingRegex (#598)Martin Bonnin
* add matchingRegex as a simpler replacement for `prefix` * remove useless check * added a note about the order of the matchingRegex
2020-11-12Adding function division switchBłażej Kardyś
2020-11-09Cleaning querying from plugins where possibleBłażej Kardyś
2020-10-15IsException should also be true when class inherits from Exception (#1558)Marcin Aman
2020-10-15Make names resulting from clashing DRI-s appear only in navigatable componentsMarcin Aman
2020-08-31Implement dPackage and dModule test APIs in favour of default params in ↵sebastian.sellmair
DModule and DPackage
2020-08-31Let module name be configurable withing `AbstractDokkaTask` and remove ↵sebastian.sellmair
concept of `moduleDisplayName`
2020-08-31Implement `root package is matched by empty string and the root keyword` testsebastian.sellmair
2020-08-31WIPsebastian.sellmair
2020-08-31Implement tests for ModuleAndPackageDocumentationReadersebastian.sellmair
2020-08-31Implement ModuleAndPackageDocumentationTransformerTest.ktsebastian.sellmair
2020-08-12Implement DocumentableFilterSuppressedTransformersebastian.sellmair
2020-08-11Fixing javadoc comment parser for psi filesBłażej Kardyś
2020-07-15Fix presenting inline code in KDocAndrzej Ratajczak
2020-07-06Enforce workspace unique SourceSetIDsebastian.sellmair
2020-07-02Handling multi-line list items. Added tests for comment to content converter.Filip Zybała