aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm b/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm
index 05ab87ae04..494524a7e4 100644
--- a/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm
+++ b/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm
@@ -62,7 +62,9 @@ load(":build_defs.bzl", "COMPILER_FLAGS", "LINKER_FLAGS")
file is sufficient) The name of the file must have the suffix
<code>.bzl</code>. If the specified label is in the relative label syntax
(<code>:a/b.bzl</code>), it will be resolved relative to the package of the
- file the <code>load</code> statement is in.
+ file the <code>load</code> statement is in. <code>load</code> statements
+ don't respect visibility: there is no need to use <code>exports_files</code>
+ to make the <code>.bzl</code> file visible.
</p>
<p>