Skip to content

Commit e0e9e0c

Browse files
committed
docs: Improve documents
1 parent 48da056 commit e0e9e0c

File tree

80 files changed

+692
-692
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+692
-692
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,11 @@ jobs:
286286
287287
\----------
288288
289-
更新日志请查看 [CHANGELOG.md](https://github.com/panpf/sketch/blob/main/CHANGELOG_zh.md) 文件
289+
更新日志请查看 [CHANGELOG.md](https://github.com/panpf/sketch/blob/main/CHANGELOG.zh.md) 文件
290290
291291
示例 App:
292292
* Android:Android 平台示例 App 见附件
293293
* Web:https://panpf.github.io/sketch/app
294-
* 其它平台示例 App 请参考文档 [运行示例 App](https://github.com/panpf/sketch/blob/main/README_zh.md#%E8%BF%90%E8%A1%8C%E7%A4%BA%E4%BE%8B-app) 运行源代码体验
294+
* 其它平台示例 App 请参考文档 [运行示例 App](https://github.com/panpf/sketch/blob/main/README.zh.md#%E8%BF%90%E8%A1%8C%E7%A4%BA%E4%BE%8B-app) 运行源代码体验
295295
files: ./downloaded-apks/*.apk
296296
make_latest: true

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Change Log
22

3-
Translations: [简体中文](CHANGELOG_zh.md)
3+
Translations: [简体中文](CHANGELOG.zh.md)
44

55
> [!CAUTION]
66
> 1. The 4.x version has undergone a lot of destructive reconstruction and simplification to be
77
compatible with Compose Multiplatform, and is not compatible with the 3.x version.
88
> 2. The maven groupId is upgraded to `io.github.panpf.sketch4`, so versions 2.\* and 3.\* will not
99
prompt for upgrade.
10-
> 3. Reference [《Migration Documentation》](docs/wiki/migrate.md) migrating from 3.x to 4.x
10+
> 3. Reference [《Migration Documentation》](docs/migrate.md) migrating from 3.x to 4.x
1111
1212
# 4.0.4
1313

CHANGELOG_zh.md CHANGELOG.zh.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
> [!CAUTION]
66
> 1. 4.x 版本为兼容 Compose Multiplatform 而进行了大量破坏性重构和简化,不兼容 3.x 版本
77
> 2. maven groupId 升级为 `io.github.panpf.sketch4`,因此 2.\*、3.\* 版本不会提示升级
8-
> 3. 参考 [《迁移文档》](docs/wiki/migrate_zh.md) 从 3.x 版本迁移 4.x 版本
8+
> 3. 参考 [《迁移文档》](docs/migrate.zh.md) 从 3.x 版本迁移 4.x 版本
99
1010
# 4.0.4
1111

README.md

+35-35
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![version_icon]][version_link]
66
![QQ Group][qq_group_image]
77

8-
Translations: [简体中文](README_zh.md)
8+
Translations: [简体中文](README.zh.md)
99

1010
Sketch is an image loading library specially designed for Compose Multiplatform and Android View. It
1111
has the following features:
@@ -360,73 +360,73 @@ Apache 2.0. See the [LICENSE](LICENSE.txt) file for details.
360360

361361
[comment]: <> (wiki)
362362

363-
[animated_image]: docs/wiki/animated_image.md
363+
[animated_image]: docs/animated_image.md
364364

365-
[apk_app_icon]: docs/wiki/apk_app_icon.md
365+
[apk_app_icon]: docs/apk_app_icon.md
366366

367-
[compose]: docs/wiki/compose.md
367+
[compose]: docs/compose.md
368368

369-
[decoder]: docs/wiki/decoder.md
369+
[decoder]: docs/decoder.md
370370

371-
[download_cache]: docs/wiki/download_cache.md
371+
[download_cache]: docs/download_cache.md
372372

373-
[exif_orientation]: docs/wiki/exif_orientation.md
373+
[exif_orientation]: docs/exif_orientation.md
374374

375-
[fetcher]: docs/wiki/fetcher.md
375+
[fetcher]: docs/fetcher.md
376376

377-
[getting_started]: docs/wiki/getting_started.md
377+
[getting_started]: docs/getting_started.md
378378

379-
[register_component]: docs/wiki/register_component.md
379+
[register_component]: docs/register_component.md
380380

381-
[http]: docs/wiki/http.md
381+
[http]: docs/http.md
382382

383-
[image_options]: docs/wiki/image_options.md
383+
[image_options]: docs/image_options.md
384384

385-
[lifecycle]: docs/wiki/lifecycle.md
385+
[lifecycle]: docs/lifecycle.md
386386

387-
[listener]: docs/wiki/listener.md
387+
[listener]: docs/listener.md
388388

389-
[log]: docs/wiki/log.md
389+
[log]: docs/log.md
390390

391-
[long_image_grid_thumbnails]: docs/wiki/long_image_grid_thumbnails.md
391+
[long_image_grid_thumbnails]: docs/long_image_grid_thumbnails.md
392392

393-
[memory_cache]: docs/wiki/memory_cache.md
393+
[memory_cache]: docs/memory_cache.md
394394

395-
[mime_type_logo]: docs/wiki/mime_type_logo.md
395+
[mime_type_logo]: docs/mime_type_logo.md
396396

397-
[pause_load_when_scrolling]: docs/wiki/pause_load_when_scrolling.md
397+
[pause_load_when_scrolling]: docs/pause_load_when_scrolling.md
398398

399-
[preload]: docs/wiki/preload.md
399+
[preload]: docs/preload.md
400400

401-
[download]: docs/wiki/download_image.md
401+
[download]: docs/download_image.md
402402

403-
[progress_indicator]: docs/wiki/progress_indicator.md
403+
[progress_indicator]: docs/progress_indicator.md
404404

405-
[request_interceptor]: docs/wiki/request_interceptor.md
405+
[request_interceptor]: docs/request_interceptor.md
406406

407-
[decode_interceptor]: docs/wiki/decode_interceptor.md
407+
[decode_interceptor]: docs/decode_interceptor.md
408408

409-
[resize]: docs/wiki/resize.md
409+
[resize]: docs/resize.md
410410

411-
[result_cache]: docs/wiki/result_cache.md
411+
[result_cache]: docs/result_cache.md
412412

413-
[save_cellular_traffic]: docs/wiki/save_cellular_traffic.md
413+
[save_cellular_traffic]: docs/save_cellular_traffic.md
414414

415-
[sketch_image_view]: docs/wiki/sketch_image_view.md
415+
[sketch_image_view]: docs/sketch_image_view.md
416416

417-
[state_image]: docs/wiki/state_image.md
417+
[state_image]: docs/state_image.md
418418

419-
[svg]: docs/wiki/svg.md
419+
[svg]: docs/svg.md
420420

421-
[target]: docs/wiki/target.md
421+
[target]: docs/target.md
422422

423-
[transformation]: docs/wiki/transformation.md
423+
[transformation]: docs/transformation.md
424424

425-
[transition]: docs/wiki/transition.md
425+
[transition]: docs/transition.md
426426

427-
[video_frame]: docs/wiki/video_frame.md
427+
[video_frame]: docs/video_frame.md
428428

429-
[migrate]: docs/wiki/migrate.md
429+
[migrate]: docs/migrate.md
430430

431431

432432
[comment]: <> (links)

README_zh.md README.zh.md

+35-35
Original file line numberDiff line numberDiff line change
@@ -332,73 +332,73 @@ Apache 2.0. 有关详细信息,请参阅 [LICENSE](LICENSE.txt) 文件.
332332

333333
[comment]: <> (wiki)
334334

335-
[animated_image]: docs/wiki/animated_image_zh.md
335+
[animated_image]: docs/animated_image.zh.md
336336

337-
[apk_app_icon]: docs/wiki/apk_app_icon_zh.md
337+
[apk_app_icon]: docs/apk_app_icon.zh.md
338338

339-
[compose]: docs/wiki/compose_zh.md
339+
[compose]: docs/compose.zh.md
340340

341-
[decoder]: docs/wiki/decoder_zh.md
341+
[decoder]: docs/decoder.zh.md
342342

343-
[download_cache]: docs/wiki/download_cache_zh.md
343+
[download_cache]: docs/download_cache.zh.md
344344

345-
[exif_orientation]: docs/wiki/exif_orientation_zh.md
345+
[exif_orientation]: docs/exif_orientation.zh.md
346346

347-
[fetcher]: docs/wiki/fetcher_zh.md
347+
[fetcher]: docs/fetcher.zh.md
348348

349-
[getting_started]: docs/wiki/getting_started_zh.md
349+
[getting_started]: docs/getting_started.zh.md
350350

351-
[register_component]: docs/wiki/register_component_zh.md
351+
[register_component]: docs/register_component.zh.md
352352

353-
[http]: docs/wiki/http_zh.md
353+
[http]: docs/http.zh.md
354354

355-
[image_options]: docs/wiki/image_options_zh.md
355+
[image_options]: docs/image_options.zh.md
356356

357-
[lifecycle]: docs/wiki/lifecycle_zh.md
357+
[lifecycle]: docs/lifecycle.zh.md
358358

359-
[listener]: docs/wiki/listener_zh.md
359+
[listener]: docs/listener.zh.md
360360

361-
[log]: docs/wiki/log_zh.md
361+
[log]: docs/log.zh.md
362362

363-
[long_image_grid_thumbnails]: docs/wiki/long_image_grid_thumbnails_zh.md
363+
[long_image_grid_thumbnails]: docs/long_image_grid_thumbnails.zh.md
364364

365-
[memory_cache]: docs/wiki/memory_cache_zh.md
365+
[memory_cache]: docs/memory_cache.zh.md
366366

367-
[mime_type_logo]: docs/wiki/mime_type_logo_zh.md
367+
[mime_type_logo]: docs/mime_type_logo.zh.md
368368

369-
[pause_load_when_scrolling]: docs/wiki/pause_load_when_scrolling_zh.md
369+
[pause_load_when_scrolling]: docs/pause_load_when_scrolling.zh.md
370370

371-
[preload]: docs/wiki/preload_zh.md
371+
[preload]: docs/preload.zh.md
372372

373-
[download]: docs/wiki/download_image_zh.md
373+
[download]: docs/download_image.zh.md
374374

375-
[progress_indicator]: docs/wiki/progress_indicator_zh.md
375+
[progress_indicator]: docs/progress_indicator.zh.md
376376

377-
[request_interceptor]: docs/wiki/request_interceptor_zh.md
377+
[request_interceptor]: docs/request_interceptor.zh.md
378378

379-
[decode_interceptor]: docs/wiki/decode_interceptor_zh.md
379+
[decode_interceptor]: docs/decode_interceptor.zh.md
380380

381-
[resize]: docs/wiki/resize_zh.md
381+
[resize]: docs/resize.zh.md
382382

383-
[result_cache]: docs/wiki/result_cache_zh.md
383+
[result_cache]: docs/result_cache.zh.md
384384

385-
[save_cellular_traffic]: docs/wiki/save_cellular_traffic_zh.md
385+
[save_cellular_traffic]: docs/save_cellular_traffic.zh.md
386386

387-
[sketch_image_view]: docs/wiki/sketch_image_view_zh.md
387+
[sketch_image_view]: docs/sketch_image_view.zh.md
388388

389-
[state_image]: docs/wiki/state_image_zh.md
389+
[state_image]: docs/state_image.zh.md
390390

391-
[svg]: docs/wiki/svg_zh.md
391+
[svg]: docs/svg.zh.md
392392

393-
[target]: docs/wiki/target_zh.md
393+
[target]: docs/target.zh.md
394394

395-
[transformation]: docs/wiki/transformation_zh.md
395+
[transformation]: docs/transformation.zh.md
396396

397-
[transition]: docs/wiki/transition_zh.md
397+
[transition]: docs/transition.zh.md
398398

399-
[video_frame]: docs/wiki/video_frame_zh.md
399+
[video_frame]: docs/video_frame.zh.md
400400

401-
[migrate]: docs/wiki/migrate_zh.md
401+
[migrate]: docs/migrate.zh.md
402402

403403

404404
[comment]: <> (links)
@@ -427,6 +427,6 @@ Apache 2.0. 有关详细信息,请参阅 [LICENSE](LICENSE.txt) 文件.
427427

428428
[comment]: <> (footer)
429429

430-
[CHANGELOG.md]: CHANGELOG_zh.md
430+
[CHANGELOG.md]: CHANGELOG.zh.md
431431

432432
[kdoctor]: https://github.com/Kotlin/kdoctor

docs/wiki/animated_image.md docs/animated_image.md

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Animated Image
22

3-
Translations: [简体中文](animated_image_zh.md)
3+
Translations: [简体中文](animated_image.zh.md)
44

55
Sketch provides the `sketch-animated-*` series of modules to support animated graphics. The
66
supported platforms and differences are as follows:
@@ -125,45 +125,45 @@ ImageRequest(context, "https://www.example.com/image.gif") {
125125

126126
[version_link]: https://repo1.maven.org/maven2/io/github/panpf/sketch4/
127127

128-
[AnimatableDrawable]: ../../sketch-core/src/androidMain/kotlin/com/github/panpf/sketch/drawable/AnimatableDrawable.kt
128+
[AnimatableDrawable]: ../sketch-core/src/androidMain/kotlin/com/github/panpf/sketch/drawable/AnimatableDrawable.kt
129129

130-
[AnimatablePainter]: ../../sketch-compose-core/src/commonMain/kotlin/com/github/panpf/sketch/painter/AnimatablePainter.kt
130+
[AnimatablePainter]: ../sketch-compose-core/src/commonMain/kotlin/com/github/panpf/sketch/painter/AnimatablePainter.kt
131131

132-
[Decoder]: ../../sketch-core/src/commonMain/kotlin/com/github/panpf/sketch/decode/Decoder.kt
132+
[Decoder]: ../sketch-core/src/commonMain/kotlin/com/github/panpf/sketch/decode/Decoder.kt
133133

134-
[GenericComposeTarget]: ../../sketch-compose-core/src/commonMain/kotlin/com/github/panpf/sketch/target/GenericComposeTarget.kt
134+
[GenericComposeTarget]: ../sketch-compose-core/src/commonMain/kotlin/com/github/panpf/sketch/target/GenericComposeTarget.kt
135135

136-
[GenericViewTarget]: ../../sketch-view-core/src/main/kotlin/com/github/panpf/sketch/target/GenericViewTarget.kt
136+
[GenericViewTarget]: ../sketch-view-core/src/main/kotlin/com/github/panpf/sketch/target/GenericViewTarget.kt
137137

138-
[ImageDecoderGifDecoder]: ../../sketch-animated-gif/src/androidMain/kotlin/com/github/panpf/sketch/decode/ImageDecoderGifDecoder.kt
138+
[ImageDecoderGifDecoder]: ../sketch-animated-gif/src/androidMain/kotlin/com/github/panpf/sketch/decode/ImageDecoderGifDecoder.kt
139139

140-
[KoralGifDecoder]: ../../sketch-animated-gif-koral/src/main/kotlin/com/github/panpf/sketch/decode/KoralGifDecoder.kt
140+
[KoralGifDecoder]: ../sketch-animated-gif-koral/src/main/kotlin/com/github/panpf/sketch/decode/KoralGifDecoder.kt
141141

142-
[MovieGifDecoder]: ../../sketch-animated-gif/src/androidMain/kotlin/com/github/panpf/sketch/decode/MovieGifDecoder.kt
142+
[MovieGifDecoder]: ../sketch-animated-gif/src/androidMain/kotlin/com/github/panpf/sketch/decode/MovieGifDecoder.kt
143143

144-
[SkiaGifDecoder]: ../../sketch-animated-gif/src/nonAndroidMain/kotlin/com/github/panpf/sketch/decode/SkiaGifDecoder.kt
144+
[SkiaGifDecoder]: ../sketch-animated-gif/src/nonAndroidMain/kotlin/com/github/panpf/sketch/decode/SkiaGifDecoder.kt
145145

146-
[ImageDecoderAnimatedHeifDecoder]: ../../sketch-animated-heif/src/main/kotlin/com/github/panpf/sketch/decode/ImageDecoderAnimatedHeifDecoder.kt
146+
[ImageDecoderAnimatedHeifDecoder]: ../sketch-animated-heif/src/main/kotlin/com/github/panpf/sketch/decode/ImageDecoderAnimatedHeifDecoder.kt
147147

148-
[ImageRequest]: ../../sketch-core/src/commonMain/kotlin/com/github/panpf/sketch/request/ImageRequest.common.kt
148+
[ImageRequest]: ../sketch-core/src/commonMain/kotlin/com/github/panpf/sketch/request/ImageRequest.common.kt
149149

150-
[ImageOptions]: ../../sketch-core/src/commonMain/kotlin/com/github/panpf/sketch/request/ImageOptions.common.kt
150+
[ImageOptions]: ../sketch-core/src/commonMain/kotlin/com/github/panpf/sketch/request/ImageOptions.common.kt
151151

152152
[Movie]: https://cs.android.com/android/platform/superproject/+/master:frameworks/base/graphics/java/android/graphics/Movie.java
153153

154-
[ImageDecoderAnimatedWebpDecoder]: ../../sketch-animated-webp/src/androidMain/kotlin/com/github/panpf/sketch/decode/ImageDecoderAnimatedWebpDecoder.kt
154+
[ImageDecoderAnimatedWebpDecoder]: ../sketch-animated-webp/src/androidMain/kotlin/com/github/panpf/sketch/decode/ImageDecoderAnimatedWebpDecoder.kt
155155

156-
[SkiaAnimatedWebpDecoder]: ../../sketch-animated-webp/src/nonAndroidMain/kotlin/com/github/panpf/sketch/decode/SkiaAnimatedWebpDecoder.kt
156+
[SkiaAnimatedWebpDecoder]: ../sketch-animated-webp/src/nonAndroidMain/kotlin/com/github/panpf/sketch/decode/SkiaAnimatedWebpDecoder.kt
157157

158-
[GifDecoderProvider]: ../../sketch-animated-gif/src/commonMain/kotlin/com/github/panpf/sketch/decode/internal/GifDecoderProvider.common.kt
158+
[GifDecoderProvider]: ../sketch-animated-gif/src/commonMain/kotlin/com/github/panpf/sketch/decode/internal/GifDecoderProvider.common.kt
159159

160-
[KoralGifDecoderProvider]: ../../sketch-animated-gif-koral/src/main/kotlin/com/github/panpf/sketch/decode/internal/KoralGifDecoderProvider.kt
160+
[KoralGifDecoderProvider]: ../sketch-animated-gif-koral/src/main/kotlin/com/github/panpf/sketch/decode/internal/KoralGifDecoderProvider.kt
161161

162-
[AnimatedWebpDecoderProvider]: ../../sketch-animated-webp/src/commonMain/kotlin/com/github/panpf/sketch/decode/internal/AnimatedWebpDecoderProvider.common.kt
162+
[AnimatedWebpDecoderProvider]: ../sketch-animated-webp/src/commonMain/kotlin/com/github/panpf/sketch/decode/internal/AnimatedWebpDecoderProvider.common.kt
163163

164-
[ImageDecoderAnimatedHeifDecoderProvider]: ../../sketch-animated-heif/src/main/kotlin/com/github/panpf/sketch/decode/internal/ImageDecoderAnimatedHeifDecoderProvider.kt
164+
[ImageDecoderAnimatedHeifDecoderProvider]: ../sketch-animated-heif/src/main/kotlin/com/github/panpf/sketch/decode/internal/ImageDecoderAnimatedHeifDecoderProvider.kt
165165

166-
[PenfeizhouAnimatedWebpDecoder]: ../../sample/src/androidMain/kotlin/com/github/panpf/sketch/sample/util/PenfeizhouAnimatedWebpDecoder.kt
166+
[PenfeizhouAnimatedWebpDecoder]: ../sample/src/androidMain/kotlin/com/github/panpf/sketch/sample/util/PenfeizhouAnimatedWebpDecoder.kt
167167

168168
[comment]: <> (wiki)
169169

0 commit comments

Comments
 (0)