aboutsummaryrefslogtreecommitdiff
path: root/core/src
AgeCommit message (Collapse)Author
2023-01-10Revise documentation (#2728)Ignat Beresnev
Co-authored-by: Sarah Haggarty <sarahhaggarty@users.noreply.github.com>
2022-09-20Update `prism.js` to match new webhelp highlight colors (#2670)Ignat Beresnev
2022-09-02Underline `@param` tag key for more consistency (#2643)Ignat Beresnev
* Underline `@param` tag key for more consistency * Correct keyValue table column ratio
2022-08-29Display inherited extensions (#2625)Vadim Mishenev
2022-08-18Add deprecation details block (#2622)Ignat Beresnev
2022-08-10Support Var html tag for Javadoc (#2617)Andrey Tyrin
Fixes #2358
2022-08-05Add a distinct divider between function/property overloads (#2585)Ignat Beresnev
2022-08-03Apply the same style to all KDoc tags, including throws/see/parameters (#2587)Ignat Beresnev
2022-07-29Move source links into signature (#2476)Vadim Mishenev
2022-07-08Revise developer guides documentation (#2523)Ignat Beresnev
2022-06-19Fix incorrectly labeling java properties as val/var (#2540)Ignat Beresnev
Fixes #2539
2022-06-08Support definitely non-nullable types (#2520)Vadim Mishenev
* Support definitely non-nullable types [Definitely non-nullable types](https://github.com/Kotlin/KEEP/blob/c72601cf35c1e95a541bb4b230edb474a6d1d1a8/proposals/definitely-non-nullable-types.md) are enabled since Kotlin 1.7
2022-05-31Fix gathering inherited properties (#2481)Ignat Beresnev
* Fix gathering inherited properties in PSI * Refacotr KaJ transformer. Change wrapping TagWrapper for getters and setters. * Add logic to merge inherited properties in kotlin from java sources. * Remove getters and setters from JvmField properties for DObject, DEnum, DInterface in KaJ. * Unify InheritedMember DRI logic. * Fix gathering docs obtained from inheriting java sources in descriptors * Apply requested changes. * Resolve rebase conflicts * Use 221 for qodana analysis * Move accessors generation into DefaultDescriptorToDocumentableTranslator * Fix special "is" case for accessors and refactor logic in general * Remove ambiguous import after rebasing * Remove unused imports and format code * Apply review comment suggestions * Preserve previously lost accessor lookalikes * Extract a variable and correct a typo Co-authored-by: Andrzej Ratajczak <andrzej.ratajczak98@gmail.com>
2022-05-16Don't expose enum constructor arguments to documentations (#2497)ebraminio
* Don't expose enum constructor arguments to documentation Enum constructor arguments is mostly internal detail of enums that isn't supposed to be exposed to clients of some library so let's don't put it in the generated documentations result.
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-04-28Make a default value dependent on source set (#2449)Vadim Mishenev
* Make a default value dependent on source set * Get a default value from an expect source set * Fix default value for expect properties * Deprecate `DefaultValue.value` * Add test * Refactor * Reformat
2022-04-25Fix missing external docs for some AndroidX libraries (#2456)Edric Chan
* Fix missing external docs for some AndroidX libraries Closes #2455
2022-04-08Rework AnnotationTarget to be stricter (#2414)owengray-google
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
2022-02-17Refactor Ancestry Graphs (#2326)Andrzej Ratajczak
2022-02-17Custom doctag extension (#2343)Ignat Beresnev
* Add an extension point for rendering custom doc tags * Iterate over documentable sourcesets when building custom tags * Extract a nested custom tags brief block into a separate method * Filter out tag content providers and make since kotlin brief a one-liner * Add padding to "Since Kotlin" block in brief description
2022-02-15Convert interfaces to functional (#2360)Goooler
2022-02-15Fix loading empty properties by CLI json parser (#2362)Andrzej Ratajczak
2022-02-14Fix filtering suppresed extensions (#2348)Andrzej Ratajczak
2022-02-14Shutdown coroutines dispatchers after each module pass (#2325)Ignat Beresnev
* Update kotlinx.coroutines to 1.6.0 * Shutdown common coroutines dispatchers after each module pass * Don't finalize coroutines in unit tests Co-authored-by: Mikhail Zarechenskiy <mikhail.zarechenskiy@jetbrains.com>
2022-01-27KT-50292 - Implement vertical alignment of parameters (#2309)Ignat Beresnev
* Implement vertical alignment (wrapping) of parameters for kt * Add tests for params wrapping and extend matchers to check for classes * Add distinguishable parameters block to kotlinAsJava, extract common logic * Create a separate Kind for symbol function parameters
2022-01-27Fix resolving DRIs of Enum Entries (#2305)Andrzej Ratajczak
* Fix resolving DRIs of Enum Entries * Unify DRIs for Kotlin and Java enums. Add EnumEntry linking tests * Updates EnumEntry extras in documentable translators * Fix tests * Apply requested changes * Apply requested changes
2022-01-24Close Input/Output streams (#2319)Ignat Beresnev
* Close Input/Output streams
2022-01-19Reuse `ObjectMapper` (#2315)Ignat Beresnev
* Reuse `ObjectMapper`
2022-01-12Add global settings to JSON dokka cli input (#2292)Andrzej Ratajczak
* Add global settings to JSON dokka cli input * Apply requested changes * Move initialization of global arguments to extension function in core module
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-06Description list support for JavaDocs (#2213)Ignat Beresnev
2021-11-12Store checked exceptions into `ExtraProperties` (#2222)vmishenev
2021-09-21Fix link to javadoc enum entry (#2131)vmishenev
2021-09-20Improve versioning plugin (#2104)vmishenev
- support for single module projects - version navigator is on all pages - dropdown arrow for version navigator
2021-08-25Manual highlighting webhelp (#2079)vmishenev
* Add manual code highlighting * Fix test * Add kotlinAsJava highlighting * Add runtime highlighting via Prism * Add copy-button for code block * Add tests and refactor * Replace `<br>` for prism.js * Parse trivial default values Co-authored-by: Marcin Aman <marcin.aman@gmail.com>
2021-08-09Property annotation for getter and setter (#2049)vmishenev
2021-07-30Add boolean, nullable types of annotation parameter valuevmishenev
2021-07-28Fix broken link in kotlinx.serialization (#2038)Marcin Aman
* Fix broken link in kotlinx.serialization * Rename DRIWithSourceSet to DRIWithSourceSets
2021-07-23Add numeric types of annotation parameter value (#2035)vmishenev
2021-07-05Flatten multi-module structure (#1980)Kamil Doległo
* Add support for multimodule package lists * Merge package-lists in multi-module generation * Remove double-wrapping of modules in multi-module generation * Handle empty modules in package lists
2021-06-25Cleanup paragraphs and tables in GFM renderer (#1946)Mike Sinkovsky
* GFM renderer: cleanup paragraphs * GFM renderer: cleanup tables * GFM renderer: add tests for wrong header in table Table with extra cell in row is really generated by `all-modules-page` plugin * Remove commented-out lines * Add BriefCommentPreprocessor which inserts a line break between a signature and a brief comment Fixed a bug with `mapTransform` function which replaces table headers with their contents Co-authored-by: Kamil Doległo <kamil.doleglo@interia.pl>
2021-06-22Logging in CLI (#1976)Marcin Aman
2021-05-06Bump compiler to 1.5.0 (#1856)Marcin Aman
* Bump compiler to 1.5.0 * Include Api changes
2021-04-21Make anchors stable (#1851)Marcin Aman
* Make anchors stable * Remove backing field from merged and all in CompositeSourceSetID
2021-04-14Handle html in kdoc (#1805)Marcin Aman
2021-04-06Suppress inherited members (#1814)Marcin Aman
2021-04-06Fix some compiler warnings (#1812)Kamil Doległo