We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb0875c commit c4df150Copy full SHA for c4df150
bzl_library.bzl
@@ -76,7 +76,7 @@ def bzl_library(name, srcs = [], deps = [], **kwargs):
76
# but there's no tool available for that since the Java implementation code is only exposed as a
77
# native Bazel rule.
78
# See bazelbuild/bazel-skylib#568
79
- if hasattr(native, "starlark_doc_extract") and "/private" not in native.package_name():
+ if hasattr(native, "starlark_doc_extract") and "private" not in native.package_name().split("/"):
80
extract_targets = []
81
for i, src in enumerate(srcs):
82
extract_target = "{}.doc_extract{}".format(name, i if i > 0 else "")
0 commit comments