From b2e061d6ceaa81d48a513530f48c2df403ba7dbc Mon Sep 17 00:00:00 2001 From: Simon Stewart Date: Thu, 11 Mar 2021 13:11:06 +0000 Subject: [PATCH] Make documentation `bzl_library` publicly visible (#527) This allows anyone who depends on `rules_jvm_external` and imports "something" from these rules into their own rules to be able to generate stardoc of their own functions. I've filed https://github.com/bazelbuild/stardoc/issues/93 to track this issue. Once it's fixed, we can close this. --- BUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BUILD b/BUILD index ae3c120bb..0d91fe642 100644 --- a/BUILD +++ b/BUILD @@ -52,6 +52,12 @@ bzl_library( "//settings:stamp_manifest.bzl", "//third_party/bazel_json/lib:json_parser.bzl", ], + visibility = [ + # This library is only visible to allow others who depend on + # `rules_jvm_external` to be able to document their code using + # stardoc. + "//visibility:public", + ], ) genrule(