bazel-ios / rules_ios

Bazel rules for building iOS applications and frameworks
Apache License 2.0
276 stars 85 forks source link

Update stardoc for bzlmod #776

Closed luispadron closed 11 months ago

luispadron commented 11 months ago

This PR updates stardoc for use with bzlmod. This is required as the versions of stardoc on the registry require these stricter deps changes.

This updates our documentation (i.e. stardoc and bzl_library targets) to work in a similar way to rules_apple: https://github.com/bazelbuild/rules_apple/blob/master/apple/BUILD#L33

Each file we want documentation generated for defines it's own bzl_library with it's own set of deps. These target names are then used within the stardoc rule to generate documentation for each of them.

The main change is going from one giant bzl_library to multiple bzl_library.

Depends on the following stack:

luispadron commented 11 months ago

I plan to PR two things before this PR is merged but that it depends on: