Add support for stardoc into our bazel rules. This allows us to build the docs using bazel build //docs/... or using the helper script update-docs.sh.
This PR adds the ability to compile an API Reference for our bazel rules, based on the index for docs (csharp/defs.for_docs.bzl). Splitting this from the usage index (defs.bzl) helps avoid mixing the docs and compilation based actions, which at the moment is useful as providers.bzl is causing some issues.
I have noticed an issue where any file that relies (loads) providers.bzl cannot be compiled with stardoc. Although it can be compiled on its own (if the header comment is removed), I think it'll require a bit more investigation to determine exactly why this isn't working as intended.
Add support for stardoc into our bazel rules. This allows us to build the docs using
bazel build //docs/...
or using the helper scriptupdate-docs.sh
.This PR adds the ability to compile an API Reference for our bazel rules, based on the index for docs (
csharp/defs.for_docs.bzl
). Splitting this from the usage index (defs.bzl
) helps avoid mixing the docs and compilation based actions, which at the moment is useful asproviders.bzl
is causing some issues.I have noticed an issue where any file that relies (loads)
providers.bzl
cannot be compiled with stardoc. Although it can be compiled on its own (if the header comment is removed), I think it'll require a bit more investigation to determine exactly why this isn't working as intended.Resolves #17