Skip to content

docs: add missing KDoc across the codebase#61

Merged
netqo merged 1 commit into
devfrom
docs/comments-and-kdoc
Jun 24, 2026
Merged

docs: add missing KDoc across the codebase#61
netqo merged 1 commit into
devfrom
docs/comments-and-kdoc

Conversation

@netqo

@netqo netqo commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Summary

Documentation-only pass over the codebase: adds missing KDoc to public and
internal declarations following the Kotlin KDoc convention. No behavior, code,
signatures, or string literals change.

Rationale

A sweep across every package looked for two things: trivial comments that merely
restate the code (to remove) and declarations missing a docstring (to add). The
codebase was already well-commented, so nothing trivial qualified for removal --
every existing inline comment carries rationale, a spec/mockup reference, or a
gotcha. The work was therefore almost entirely additive KDoc on ViewModels,
UI-state types, Room DAOs, DI providers, domain enums/interfaces, and shared
composables (plus a few private helpers whose names were not self-explanatory).
Per-constant and @Preview/@Test/override docs were intentionally skipped to avoid
restating the obvious.

Verification

  • ./gradlew :app:compileDebugKotlin (green)
  • ./gradlew :app:ktlintMainSourceSetCheck (green)
  • ./gradlew :app:detekt (green)

Test plan

  • Compile + ktlint + detekt clean.
  • Diff is comments/KDoc only (33 files, additions only).

Related issues

Checklist

  • Commit messages follow Conventional Commits.
  • Branch name follows the naming convention (docs/).
  • The change is scoped: docs/KDoc only, no code edits.
  • No user-visible behavior changed, so CHANGELOG.md is intentionally untouched.
  • No new dependency was added.

Add KDoc to public/internal declarations that lacked it (ViewModels,
UI-state types, DAOs, DI providers, domain enums, shared composables and
a few private helpers whose names were not self-explanatory), following
the Kotlin KDoc convention. No trivial comments were found to remove --
the existing inline comments all carry rationale or spec references --
and no code, signatures, or string literals changed.
@netqo netqo merged commit bf96f25 into dev Jun 24, 2026
3 checks passed
@netqo netqo deleted the docs/comments-and-kdoc branch June 24, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant