From f6e169342f1ac2fd4bce13737b106d1cea8bf1df Mon Sep 17 00:00:00 2001 From: farisbasha Date: Wed, 18 Nov 2026 03:14:06 +0530 Subject: [PATCH] Fix dead API doc links on the website pages The API docs moved to /api/2.x/ and the 1.x Javadoc pages are gone, so the ScopeProvider, LifecycleScopeProvider and Javadoc/KDoc links return 404. Point them to the current 2.x Dokka pages. --- docs/error-prone.md | 4 ++-- docs/index.md | 2 +- docs/lint-check.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/error-prone.md b/docs/error-prone.md index ce8f1fe3..b47da049 100644 --- a/docs/error-prone.md +++ b/docs/error-prone.md @@ -148,8 +148,8 @@ By default the checker is applied to AutoDispose interfaces and standard Android 1. [Activity](https://developer.android.com/reference/android/app/Activity.html) 2. [Fragment](https://developer.android.com/reference/android/app/Fragment.html) 3. [Support Fragment](https://developer.android.com/reference/android/support/v4/app/Fragment.html) -4. [LifecycleScopeProvider](https://uber.github.io/AutoDispose/1.x/autodispose/com/uber/autodispose/LifecycleScopeProvider.html) -5. [ScopeProvider](https://uber.github.io/AutoDispose/1.x/autodispose/com/uber/autodispose/ScopeProvider.html) +4. [LifecycleScopeProvider](https://uber.github.io/AutoDispose/api/2.x/autodispose-lifecycle/autodispose2.lifecycle/-lifecycle-scope-provider/index.html) +5. [ScopeProvider](https://uber.github.io/AutoDispose/api/2.x/autodispose/autodispose2/-scope-provider/index.html) 6. [LifecycleOwner](https://developer.android.com/reference/android/arch/lifecycle/LifecycleOwner.html) This can be configured by [Error-Prone's command line flags](https://errorprone.info/docs/flags). The following flag is supported and takes input in a form of comma separated list of fully qualified class names of classes with scopes: diff --git a/docs/index.md b/docs/index.md index 5b23e000..581b39ed 100644 --- a/docs/index.md +++ b/docs/index.md @@ -326,7 +326,7 @@ implementation 'com.uber.autodispose:autodispose-rxlifecycle:x.y.z' implementation 'com.uber.autodispose:autodispose-rxlifecycle3:x.y.z' ``` -Javadocs and KDocs for the most recent release can be found here: https://uber.github.io/AutoDispose/2.x/autodispose/ +Javadocs and KDocs for the most recent release can be found here: https://uber.github.io/AutoDispose/api/2.x/autodispose/ Snapshots of the development version are available in [Sonatype's snapshots repository][snapshots]. diff --git a/docs/lint-check.md b/docs/lint-check.md index 688e5913..eefc8d03 100644 --- a/docs/lint-check.md +++ b/docs/lint-check.md @@ -47,7 +47,7 @@ By default, the lint check is applied to AutoDispose interfaces and standard And 1. [Activity](https://developer.android.com/reference/android/app/Activity.html) 2. [Fragment](https://developer.android.com/reference/android/app/Fragment.html) 3. [Support Fragment](https://developer.android.com/reference/android/support/v4/app/Fragment.html) -4. [ScopeProvider](https://uber.github.io/AutoDispose/1.x/autodispose/com/uber/autodispose/ScopeProvider.html) (which implicitly includes [LifecycleScopeProvider](https://uber.github.io/AutoDispose/1.x/autodispose/com/uber/autodispose/LifecycleScopeProvider.html)) +4. [ScopeProvider](https://uber.github.io/AutoDispose/api/2.x/autodispose/autodispose2/-scope-provider/index.html) (which implicitly includes [LifecycleScopeProvider](https://uber.github.io/AutoDispose/api/2.x/autodispose-lifecycle/autodispose2.lifecycle/-lifecycle-scope-provider/index.html)) 5. [LifecycleOwner](https://developer.android.com/reference/android/arch/lifecycle/LifecycleOwner.html) You can add your own custom scopes that you want the lint check applied to. In your **app-level** `gradle.properties` file, add the fully qualified name of your custom classes as comma-separated-values like so: