Skip to content

refactor(build): centralize Dokka documentation generation#4171

Merged
jamesarich merged 2 commits intomainfrom
feat/docs
Jan 9, 2026
Merged

refactor(build): centralize Dokka documentation generation#4171
jamesarich merged 2 commits intomainfrom
feat/docs

Conversation

@jamesarich
Copy link
Collaborator

This commit centralizes the Dokka configuration at the root level of the project, removing the previous app-specific setup. This change simplifies documentation generation by applying a unified configuration across all modules.

Key changes:

  • Moved Dokka configuration from app/build.gradle.kts to the root build.gradle.kts.
  • Applied the Dokka plugin to all subprojects and added them as dependencies to the root Dokka task for aggregation.
  • Configured sourceLink for all modules to correctly point to their source files on GitHub.
  • Suppressed generated code, including Hilt and string resource classes, from the documentation.
  • Updated the docs.yml workflow to use the new root-level Dokka task.
  • Removed meshServiceExample from Kover's coverage report.

resolves #4162 🤞

This commit centralizes the Dokka configuration at the root level of the project, removing the previous app-specific setup. This change simplifies documentation generation by applying a unified configuration across all modules.

Key changes:
- Moved Dokka configuration from `app/build.gradle.kts` to the root `build.gradle.kts`.
- Applied the Dokka plugin to all subprojects and added them as dependencies to the root Dokka task for aggregation.
- Configured `sourceLink` for all modules to correctly point to their source files on GitHub.
- Suppressed generated code, including Hilt and string resource classes, from the documentation.
- Updated the `docs.yml` workflow to use the new root-level Dokka task.
- Removed `meshServiceExample` from Kover's coverage report.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@github-actions github-actions bot added the enhancement New feature or request label Jan 8, 2026
@jamesarich jamesarich enabled auto-merge January 8, 2026 23:40
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@jamesarich jamesarich added this pull request to the merge queue Jan 8, 2026
@codecov
Copy link

codecov bot commented Jan 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (6818546) to head (48d428b).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4171   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          2       2           
  Lines         19      19           
  Branches       7       7           
=====================================
  Misses        19      19           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Merged via the queue into main with commit 02f99bd Jan 9, 2026
6 checks passed
@jamesarich jamesarich deleted the feat/docs branch January 9, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Link to documentation in README is broken

1 participant