This project contains macros and APIs that reduce some of the boilerplate when generating documentation for Starlark code.
Click here for reference documentation for the rules and other definitions.
In addition to the workspace snippet for the repository, add
the following to your WORKSPACE
file:
load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")
stardoc_repositories()
Look at the BUILD.bazel files in the documentation directories (e.g. bazeldoc, bzlformat). They use the macros and APIs defined in this project.