Closed luispadron closed 11 months ago
I plan to PR two things before this PR is merged but that it depends on:
>= 6.3.2
to fix issues with bzlmod and stardocbazel_skylib
's write_file
rule vs our custom copy of it, reduces code duplication and amount of bzl_library
needed to create
This PR updates stardoc for use with
bzlmod
. This is required as the versions of stardoc on the registry require these stricterdeps
changes.This updates our documentation (i.e.
stardoc
andbzl_library
targets) to work in a similar way to rules_apple: https://github.com/bazelbuild/rules_apple/blob/master/apple/BUILD#L33Each file we want documentation generated for defines it's own
bzl_library
with it's own set ofdeps
. These target names are then used within thestardoc
rule to generate documentation for each of them.The main change is going from one giant
bzl_library
to multiplebzl_library
.Depends on the following stack:
777
778