Skip to content

Document some-android package, resolvers, and strategies #84

Description

@MessiasLima

Description

Document the :android module and its artifact (dev.appoutlet:some-android) across README, docs index, supported types, and a new dedicated Android section. The Android docs must be separate from core docs, following the same structure as docs/configuration/.

  • Scope and constraints

    • README.md — Add a paragraph under Installation documenting the two packages: dev.appoutlet:some (core, JVM) and dev.appoutlet:some-android (Android extension), with their respective Gradle snippets.
    • docs/index.md — Mention both packages and what each is for, with a link to the new Android section.
    • docs/getting-started.md — Add an Android installation subsection showing the some-android dependency.
    • docs/supported-types.md — Add a table listing Android SDK types (Uri, Bundle, Pair, Rect, RectF, Point, PointF, Size, SizeF, UserHandle, android.graphics.Color) and Compose types (AnnotatedString, Color, SolidColor, Dp, Sp, Offset, Size, Rect, IntOffset, IntSize). Each group notes the artifact and that they auto-discover via ServiceLoader.
    • docs/android/index.md — Create a new dedicated section (mirroring docs/configuration/index.md structure) covering:
      • What some-android provides and why it is a separate artifact.
      • Installation (testImplementation("dev.appoutlet:some-android:{version}")).
      • Supported Android SDK and Compose types (linked to supported-types.md for the full table).
      • Available strategies: UriStrategy (Random, Content, File, Url) and ColorStrategy (RandomArgb, RandomHsl, Palette) with code examples.
      • Requirements (Android minSdk 21, Compose dependency).
    • Follows existing docs conventions: Zensical frontmatter, tabs for Gradle/Maven, inline code examples.
    • No code changes, documentation only.
  • References

Scope

In scope: README, docs/index.md, docs/getting-started.md, docs/supported-types.md, new docs/android/index.md.
Out of scope: implementation resolver changes, new strategies.

Acceptance criteria

  • README.md describes both some and some-android packages with installation snippets
  • docs/index.md references both packages and links to the Android section
  • docs/getting-started.md includes Android installation instructions
  • docs/supported-types.md lists all Android SDK and Compose types with usage examples
  • docs/android/index.md exists with frontmatter, overview, installation, supported types, strategies, and examples
  • Android strategy examples match the actual API (UriStrategy variants, ColorStrategy variants)
  • All docs follow existing Zensical conventions (tabs, frontmatter, styling)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions