Age | Commit message (Collapse) | Author |
|
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
|
|
For example, class Foo will have a constructor named `Foo` in docs as
opposed to `<init>`.
Bug: 168972258
Change-Id: I1e70d6d15702e5d583054cb95a3a90c328e5f8f5
|
|
replacewith."
|
|
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
|
|
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
|
|
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
|
|
Artifacts pulled from https://teamcity.jetbrains.com/viewLog.html?tab=artifacts&buildId=1485600.
Bug: 72394196
Change-Id: I36ba18127bec9a2c393a9a7740623b98500f2d73
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Introduce PackageListService
#KT-16309 fixed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for stdlib types such as java.lang.String
|
|
|
|
|
|
name as an anchor for in-page links
|
|
|
|
|
|
|
|
RefKind
|
|
|
|
|