Skip to content

Commit be21c53

Browse files
committed
Updates for site
1 parent a9fb90c commit be21c53

9 files changed

+33
-37
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ org.eclipse.buildship.core.prefs
3535

3636
# Temporary API docs
3737
docs/api
38+
package-list-coil-base
39+
3840
# Mkdocs temporary serving folder
3941
docs-gen
4042
site
41-
*.bak
43+
*.bak

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Accompanist logo](images/social.svg)
1+
![Accompanist logo](docs/header.png)
22

33
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.
44

docs/appcompat-theme.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# AppCompat Compose Theme Adapter
22

3+
[![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)
4+
35
A library that enables reuse of [AppCompat][appcompat] XML themes for theming in [Jetpack Compose][compose].
46

57
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:
124126

125127
## Usage
126128

129+
[![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)
130+
127131
``` groovy
128132
repositories {
129133
mavenCentral()

docs/flowlayout.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ FlowColumn {
2020

2121
For examples, refer to the [samples](https://github.com/google/accompanist/tree/main/sample/src/main/java/com/google/accompanist/sample/flowlayout).
2222

23-
For more information, visit the documentation: https://google.github.io/accompanist/flowlayout
24-
2523
## Download
2624

25+
[![Maven Central](https://img.shields.io/maven-central/v/com.google.accompanist/accompanist-flowlayout)](https://search.maven.org/search?q=g:com.google.accompanist)
26+
2727
```groovy
2828
repositories {
2929
mavenCentral()

docs/header.png

16.4 KB
Loading

generate_docs.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,10 @@ cp -R docs/* $DOCS_ROOT
5050

5151
cp README.md $DOCS_ROOT/index.md
5252
cp CONTRIBUTING.md $DOCS_ROOT/contributing.md
53-
cp images/social.png $DOCS_ROOT/header.png
54-
cp images/social.svg $DOCS_ROOT/header.svg
5553

5654
sed -i.bak 's/CONTRIBUTING.md/contributing/' $DOCS_ROOT/index.md
5755
sed -i.bak 's/README.md//' $DOCS_ROOT/index.md
58-
sed -i.bak 's/images\/social.svg/header.svg/' $DOCS_ROOT/index.md
56+
sed -i.bak 's/docs\/header.png/header.png/' $DOCS_ROOT/index.md
5957

6058
# Convert docs/xxx.md links to just xxx/
6159
sed -i.bak 's/docs\/\([a-zA-Z-]*\).md/\1/' $DOCS_ROOT/index.md

images/social.png

-83.5 KB
Binary file not shown.

images/social.svg

-16
This file was deleted.

mkdocs.yml

+22-14
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,26 @@ repo_url: 'https://github.com/google/accompanist'
1414
# Navigation
1515
nav:
1616
- 'Overview': index.md
17-
- 'Coil': coil.md
18-
- 'Glide': glide.md
19-
- 'Picasso': picasso.md
20-
- 'Insets': insets.md
21-
- 'AppCompat Theme': appcompat-theme.md
22-
- 'API':
23-
- 'Coil': api/coil/coil/
24-
- 'Glide': api/glide/glide/
25-
- 'Picasso': api/picasso/picasso/
26-
- 'Image Loading Core': api/imageloading-core/imageloading-core/
27-
- 'Insets': api/insets/insets/
28-
- 'AppCompat Theme': api/appcompat-theme/appcompat-theme
17+
- 'Coil':
18+
- 'Guide': coil.md
19+
- 'API': api/coil/coil/
20+
- 'Glide':
21+
- 'Guide': glide.md
22+
- 'API': api/glide/glide/
23+
- 'Image Loading Core':
24+
- 'API': api/imageloading-core/imageloading-core
25+
- 'Picasso':
26+
- 'Guide': picasso.md
27+
- 'API': api/picasso/picasso/
28+
- 'Insets':
29+
- 'Guide': insets.md
30+
- 'API': api/insets/insets/
31+
- 'AppCompat Theme':
32+
- 'Guide': appcompat-theme.md
33+
- 'API': api/appcompat-theme/appcompat-theme
34+
- 'Flow layouts':
35+
- 'Guide': flowlayout.md
36+
- 'API': api/flowlayout/flowlayout
2937
- 'Snapshots': using-snapshot-version.md
3038
- 'Contributing': contributing.md
3139
- 'Maintainers':
@@ -41,8 +49,8 @@ theme:
4149
primary: 'black'
4250
accent: 'deep orange'
4351
font:
44-
text: 'IBM Plex Sans'
45-
code: 'IBM Plex Mono'
52+
text: 'Roboto'
53+
code: 'JetBrains Mono'
4654

4755
# Extensions
4856
markdown_extensions:

0 commit comments

Comments
 (0)