aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Model/DocumentationNode.kt
AgeCommit message (Collapse)Author
2022-12-06Add support for "Added in <SDK-ext> <version>"Mårten Kongstad
Teach Dokka to parse @sdkExtSince javadoc comments. These comments are equivalent to @apiSince, but for SDK extensions. Because symbols can be finalized in an Android dessert (@apiSince), an SDK extensions (@sdkExtSince) or both (@apiSince + @sdkExtSince), Dokka will emit one of the following snippets: - Added in API level <int> - Added in <SDK-extension> <int> - Added in API level <int> Also in <SDK-extension> <int> Bug: 261168446 Test: m ds-docs-kt # and manually inspect out/target/common/docs/ds-docs-kt-docs.zip Change-Id: Ia207d1284cda84ae612a955edfc67aecc75ac462
2020-09-19Fix constructor rendering from `<init>` to actual `TypeName`.Vladimir Kryachko
For example, class Foo will have a constructor named `Foo` in docs as opposed to `<init>`. Bug: 168972258 Change-Id: I1e70d6d15702e5d583054cb95a3a90c328e5f8f5
2020-07-08Merge "Progress on deprecation notices in kotlin. Fix test, improve ↵android-r-beta-3android-r-beta-2Treehugger Robot
replacewith."
2020-07-08Progress on deprecation notices in kotlin. Fix test, improve replacewith.Owen Gray
Replacewith contents still need to be linkified. Class deprecation not fully functional. May need further improvement in formatting to make it look nicer. Is ugly under the hood, but service is soon to be deprecated. Bug: 149580603 Test: included deprecation test Change-Id: I63a5b45754de00e1ffc7d81cb1de8d3d44bdc9ec
2020-06-19Documenting type aliases even if they are children of GroupNode'sJeff Gaston
Previously there were some recursive checks that were terminating at GroupNode objects and skipping documenting TypeAlias objects Bug: 157562249 Bug: 143534533 Test: Run `cd ../../frameworks/support/ui && BUILD_DOKKA=true ./gradlew dokkaKotlinTipOfTreeDocs --no-daemon` and diff the results before and after this change and observe that there are a bunch of changes in out/ui/docs-runner/build/dokkaKotlinTipOfTreeDocs/androidx/_toc.yaml that look like this: < path: /reference/kotlinnull --- > path: /reference/kotlin/androidx/ui/util/annotation/VisibleForTesting.html < path: /reference/kotlinnull --- > path: /reference/kotlin/androidx/ui/util/annotation/VisibleForTesting.html and some new files, for example: Only in out/ui/docs-runner/build/dokkaKotlinTipOfTreeDocs/androidx/ui/graphics: NativeCanvas.html Only in out/ui/docs-runner/build/dokkaKotlinTipOfTreeDocs/androidx/ui/util/annotation: VisibleForTesting.html Change-Id: Ie0111d924c354fb6fd37d287332730181ffda3e5
2019-07-10Adding Dokka source to AOSPTiem Song
This is taken from commit 4ff3d4153ca344398bffcdaaa28f1a1f6e76f6ad from https://github.com/google/dokka, which is Google's customized fork of Dokka (https://github.com/Kotlin/dokka). Bug: 135767980 Test: ./gradlew :core:cleanTest :core:test Test: ./gradlew :runners:gradle-integration-tests:clean :runners:gradle-integration-tests:test Change-Id: I332d0b522706e353c3837f6308aac1a8340d71d3
2018-06-19Replace Dokka source with a Dokka maven repo (see ./maven).Doug Sigelbaum
Artifacts pulled from https://teamcity.jetbrains.com/viewLog.html?tab=artifacts&buildId=1485600. Bug: 72394196 Change-Id: I36ba18127bec9a2c393a9a7740623b98500f2d73
2018-03-05Fix @since detectionSimon Ogorodnik
2018-03-02First attempt at @attr and @since parsing.Douglas Sigelbaum
2018-02-21Add XmlAttributes to the DocNode tree.Douglas Sigelbaum
2018-02-21Start parsing XML attributes.Douglas Sigelbaum
Parse @attr in kdoc and decorate corresponding Nodes. TODO: * parse @attr in Javadoc. * link "@attr ref" (as in AbsListView in Android https://github.com/aosp-mirror/platform_frameworks_base/blob/master/core/java/android/widget/AbsListView.java#L94) renders https://developer.android.com/reference/android/widget/AbsListView.html. * add section for attributes to page.
2018-01-17Support propagating inherited extensions from librariesSimon Ogorodnik
2018-01-12Support deep inheritance with external classesSimon Ogorodnik
2018-01-07Show type parameters substitution in class hierarchySimon Ogorodnik
2017-12-28Build supertypes via Supertype nodes, not referenceSimon Ogorodnik
2017-12-15Generate signatures in output formatSimon Ogorodnik
2017-12-15Add class hierarchySimon Ogorodnik
2017-05-11Support linking of external documentationSimon Ogorodnik
Introduce PackageListService #KT-16309 fixed
2017-03-01Correct merging of different type namesake declarations between platformsSimon Ogorodnik
2017-02-23Merge declarations with the same signature defined for multiple platformsDmitry Jemerov
2017-02-23Refactor SinceKotlin support to a more general "platform" mechanismDmitry Jemerov
2017-02-23Dokka now can detect and recognize SinceKotlinSimon Ogorodnik
2016-11-24Type alias supportSimon Ogorodnik
2016-11-02Fix for GH-89 : Support for links to packagesSimon Ogorodnik
2016-04-29don't report type parameters for array classes; don't report qualified names ↵Dmitry Jemerov
for stdlib types such as java.lang.String
2016-04-27Use FQ name instead of simple name to identify array classes. Resolves #68Dmitry Jemerov
2016-01-12generate all types indexDmitry Jemerov
2016-01-12generate signature-based anchors for overloads; use signature instead of ↵Dmitry Jemerov
name as an anchor for in-page links
2016-01-08link to JDK classes (KT-10452)Dmitry Jemerov
2016-01-05distinguish inherited companion object membersDmitry Jemerov
2016-01-04separate groups for annotations and exceptions in the members listDmitry Jemerov
2016-01-04cleanup: DocumentationNode.Kind -> NodeKind, DocumentationReference.Kind -> ↵Dmitry Jemerov
RefKind
2016-01-04cleanup: remove redundant 'public' modifiersDmitry Jemerov
2015-12-03restructure Dokka build to use Gradle for everything except for the Maven pluginDmitry Jemerov