Skip to content

Commit

Permalink
Work around stardoc limitations to generate docs
Browse files Browse the repository at this point in the history
Stardoc doesn't allow a macro to wrap a rule and also have the rule's
documentation be generated.

Ideally, we'd simply exclude the lint wrappers and omit the `input`
attribute from the `stardoc` target. However, thanks to [an issue with
stardoc](bazelbuild/stardoc#99) this is not
an option. As an alternative, we provide a verion of `rules.bzl` that
deliberately excludes the lint wrappers.
  • Loading branch information
shs96c committed Apr 21, 2021
1 parent fc3872a commit 8eec34e
Show file tree
Hide file tree
Showing 4 changed files with 187 additions and 64 deletions.
Loading

0 comments on commit 8eec34e

Please sign in to comment.