Skip to content

Commit

Permalink
Minor documentation tweaks (#2266)
Browse files Browse the repository at this point in the history
* fix the version badge now that all artifacts belong to the same bintray
package

* put migration as an advanced topic since there is now a 2.0 migration
  • Loading branch information
martinbonnin committed May 16, 2020
1 parent 8a450b6 commit 7048418
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Apollo-android features:

## Adding Apollo-Android to your Project

The latest Gradle plugin version is [ ![Download](https://api.bintray.com/packages/apollographql/android/apollo-gradle-plugin/images/download.svg) ](https://bintray.com/apollographql/android/apollo-gradle-plugin/_latestVersion)
The latest Gradle plugin version is [ ![Download](https://api.bintray.com/packages/apollographql/android/apollo/images/download.svg) ](https://bintray.com/apollographql/android/apollo-gradle-plugin/_latestVersion)

To use this plugin, add the dependency to your project's root build.gradle file:

Expand Down Expand Up @@ -234,11 +234,6 @@ Latest development changes are available in Sonatype's snapshots repository:
}
```

## Migrating to 1.3.x

Apollo-Android version 1.3.0 introduces some fixes and improvements that are incompatible with 1.2.x. Please refer to
[Migration Guide](https://www.apollographql.com/docs/android/essentials/migration/) for details.

## Advanced topics

Advanced topics are available in [the official docs](https://www.apollographql.com/docs/android/):
Expand All @@ -252,6 +247,7 @@ Advanced topics are available in [the official docs](https://www.apollographql.c
* [persisted-queries.md](https://www.apollographql.com/docs/android/advanced/persisted-queries/)
* [no-runtime.md](https://www.apollographql.com/docs/android/advanced/no-runtime/)
* [subscriptions.md](https://www.apollographql.com/docs/android/advanced/subscriptions/)
* [migrations.md](https://www.apollographql.com/docs/android/essentials/migration/)


## Changelog
Expand Down
6 changes: 3 additions & 3 deletions docs/source/essentials/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Apollo GraphQL client allows you to cache responses, making it suitable for use
## Http Cache

To enable HTTP Cache support, add the dependency to your project's build.gradle file. The latest version is
[![Download](https://api.bintray.com/packages/apollographql/android/apollo-http-cache/images/download.svg)](https://bintray.com/apollographql/android/apollo-http-cache/_latestVersion)
[![Download](https://api.bintray.com/packages/apollographql/android/apollo/images/download.svg)](https://bintray.com/apollographql/android/apollo-http-cache/_latestVersion)

```kotlin:title=build.gradle
dependencies {
Expand Down Expand Up @@ -100,7 +100,7 @@ and will be evicted from the http cache, `expireAfter(expireTimeout, timeUnit)`.
## Normalized Disk Cache:

To enable Normalized Disk Cache support, add the dependency to your project's build.gradle file. The latest version is
[![Download](https://api.bintray.com/packages/apollographql/android/apollo-normalized-cache-sqlite/images/download.svg)](https://bintray.com/apollographql/android/apollo-normalized-cache-sqlite/_latestVersion)
[![Download](https://api.bintray.com/packages/apollographql/android/apollo/images/download.svg)](https://bintray.com/apollographql/android/apollo-normalized-cache-sqlite/_latestVersion)

```kotlin:title=build.gradle
dependencies {
Expand Down Expand Up @@ -175,7 +175,7 @@ ApolloClient apolloClient = ApolloClient.builder()
## Normalized In-Memory Cache:

To enable Normalized In-Memory Cache support, add the dependency to your project's build.gradle file. The latest version is
[![Download](https://api.bintray.com/packages/apollographql/android/apollo-normalized-cache/images/download.svg)](https://bintray.com/apollographql/android/apollo-normalized-cache/_latestVersion)
[![Download](https://api.bintray.com/packages/apollographql/android/apollo/images/download.svg)](https://bintray.com/apollographql/android/apollo-normalized-cache/_latestVersion)

```kotlin:title=build.gradle
dependencies {
Expand Down

0 comments on commit 7048418

Please sign in to comment.