diff --git a/.gitignore b/.gitignore index 58c8a3bb5..489a6df63 100644 --- a/.gitignore +++ b/.gitignore @@ -35,7 +35,9 @@ org.eclipse.buildship.core.prefs # Temporary API docs docs/api +package-list-coil-base + # Mkdocs temporary serving folder docs-gen site -*.bak \ No newline at end of file +*.bak diff --git a/README.md b/README.md index 899fbb20b..a0eda4885 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Accompanist logo](images/social.svg) +![Accompanist logo](docs/header.png) Accompanist is a group of libraries which aim to supplement [Jetpack Compose][compose] with features which are commonly required by developers, but not yet available. diff --git a/docs/appcompat-theme.md b/docs/appcompat-theme.md index 6921e85d5..ca4d3a45f 100644 --- a/docs/appcompat-theme.md +++ b/docs/appcompat-theme.md @@ -1,5 +1,7 @@ # AppCompat Compose Theme Adapter +[![Maven Central](https://img.shields.io/maven-central/v/com.google.accompanist/accompanist-appcompat-theme)](https://search.maven.org/search?q=g:com.google.accompanist) + A library that enables reuse of [AppCompat][appcompat] XML themes for theming in [Jetpack Compose][compose]. The basis of theming in [Jetpack Compose][compose] is the [`MaterialTheme`][materialtheme] composable, where you provide [`Colors`][colors], [`Shapes`][shapes] and [`Typography`][typography] instances containing your styling parameters: @@ -124,6 +126,8 @@ There are some known limitations with the implementation at the moment: ## Usage +[![Maven Central](https://img.shields.io/maven-central/v/com.google.accompanist/accompanist-appcompat-theme)](https://search.maven.org/search?q=g:com.google.accompanist) + ``` groovy repositories { mavenCentral() diff --git a/docs/flowlayout.md b/docs/flowlayout.md index 1fd0cf8fc..7ec57ebd7 100644 --- a/docs/flowlayout.md +++ b/docs/flowlayout.md @@ -20,10 +20,10 @@ FlowColumn { For examples, refer to the [samples](https://github.com/google/accompanist/tree/main/sample/src/main/java/com/google/accompanist/sample/flowlayout). -For more information, visit the documentation: https://google.github.io/accompanist/flowlayout - ## Download +[![Maven Central](https://img.shields.io/maven-central/v/com.google.accompanist/accompanist-flowlayout)](https://search.maven.org/search?q=g:com.google.accompanist) + ```groovy repositories { mavenCentral() diff --git a/docs/header.png b/docs/header.png index 4aa8c5376..c2b7aba9c 100644 Binary files a/docs/header.png and b/docs/header.png differ diff --git a/generate_docs.sh b/generate_docs.sh index 0d57eb01e..62402ac59 100755 --- a/generate_docs.sh +++ b/generate_docs.sh @@ -50,12 +50,10 @@ cp -R docs/* $DOCS_ROOT cp README.md $DOCS_ROOT/index.md cp CONTRIBUTING.md $DOCS_ROOT/contributing.md -cp images/social.png $DOCS_ROOT/header.png -cp images/social.svg $DOCS_ROOT/header.svg sed -i.bak 's/CONTRIBUTING.md/contributing/' $DOCS_ROOT/index.md sed -i.bak 's/README.md//' $DOCS_ROOT/index.md -sed -i.bak 's/images\/social.svg/header.svg/' $DOCS_ROOT/index.md +sed -i.bak 's/docs\/header.png/header.png/' $DOCS_ROOT/index.md # Convert docs/xxx.md links to just xxx/ sed -i.bak 's/docs\/\([a-zA-Z-]*\).md/\1/' $DOCS_ROOT/index.md diff --git a/images/social.png b/images/social.png deleted file mode 100644 index b54f2a589..000000000 Binary files a/images/social.png and /dev/null differ diff --git a/images/social.svg b/images/social.svg deleted file mode 100644 index 197132f51..000000000 --- a/images/social.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - Artboard - - - - Accompanist - - - - - Utils for Jetpack Compose - - - - \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index c54c0a0b6..751ba1326 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -14,18 +14,26 @@ repo_url: 'https://github.com/google/accompanist' # Navigation nav: - 'Overview': index.md - - 'Coil': coil.md - - 'Glide': glide.md - - 'Picasso': picasso.md - - 'Insets': insets.md - - 'AppCompat Theme': appcompat-theme.md - - 'API': - - 'Coil': api/coil/coil/ - - 'Glide': api/glide/glide/ - - 'Picasso': api/picasso/picasso/ - - 'Image Loading Core': api/imageloading-core/imageloading-core/ - - 'Insets': api/insets/insets/ - - 'AppCompat Theme': api/appcompat-theme/appcompat-theme + - 'Coil': + - 'Guide': coil.md + - 'API': api/coil/coil/ + - 'Glide': + - 'Guide': glide.md + - 'API': api/glide/glide/ + - 'Image Loading Core': + - 'API': api/imageloading-core/imageloading-core + - 'Picasso': + - 'Guide': picasso.md + - 'API': api/picasso/picasso/ + - 'Insets': + - 'Guide': insets.md + - 'API': api/insets/insets/ + - 'AppCompat Theme': + - 'Guide': appcompat-theme.md + - 'API': api/appcompat-theme/appcompat-theme + - 'Flow layouts': + - 'Guide': flowlayout.md + - 'API': api/flowlayout/flowlayout - 'Snapshots': using-snapshot-version.md - 'Contributing': contributing.md - 'Maintainers': @@ -41,8 +49,8 @@ theme: primary: 'black' accent: 'deep orange' font: - text: 'IBM Plex Sans' - code: 'IBM Plex Mono' + text: 'Roboto' + code: 'JetBrains Mono' # Extensions markdown_extensions: