requirements.bzl is now visible outside pip_repositorys#463
requirements.bzl is now visible outside pip_repositorys#463alexeagle merged 2 commits intobazel-contrib:masterfrom UebelAndre:docs
requirements.bzl is now visible outside pip_repositorys#463Conversation
|
@hrfuller are you around for a review? 🙏 |
alexeagle
left a comment
There was a problem hiding this comment.
I think this is fundamentally a stardoc bug. This PR fixes one of the many hundreds of places across the Bazel ecosystem where a load() statement can't be traversed statically.
We need to fix stardoc to fail gracefully in this case and leave the referenced symbols undocumented (treat them as some unknown or wildcard type). That's how we fix all the hundreds of issues at once.
That said I'm okay with unblocking you
Yeah, there's an effort to address this in stardoc but it continues to be pushed back, it seems bazelbuild/stardoc#69 |
PR Checklist
Please check if your PR fulfills the following requirements:
.parfiles. See CONTRIBUTING.md for infoPR Type
What kind of change does this PR introduce?
What is the current behavior?
I have a
.bzlfile which loads therequirements.bzlfile of a pip_repository and I want to use stardoc to generate documentation it. However, I'm not able to accessrequirements.bzlbecause it's not publicly visible outside of the repository.Issue Number: N/A
What is the new behavior?
The change in this PR exports the file so it can be used for generating documentation.
Does this PR introduce a breaking change?
Other information