diff options
author | lberki <lberki@google.com> | 2018-06-13 06:04:45 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-13 06:05:53 -0700 |
commit | f9bf2e7f2696b0897a17414e9399382764338b2d (patch) | |
tree | ebcce5ca5229cd2f3ecfce3884edfe656ad773e9 /src/main/java/com/google/devtools/build/docgen | |
parent | ea21195ff0973c4bba0bda5887bb7c5fa5e7c5c2 (diff) |
Fix a bad path and remove the reference to the legacy path-based load() syntax.
RELNOTES: None.
PiperOrigin-RevId: 200379060
Diffstat (limited to 'src/main/java/com/google/devtools/build/docgen')
-rw-r--r-- | src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm | 16 |
1 files changed, 1 insertions, 15 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 23ff93f5a7..0b2ea0ead2 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 @@ -72,7 +72,7 @@ This will make <code>COMPILER_FLAGS</code> exported from <p> The label must refer to an existing package. For example, for the above - statement to work, <code>tools/build_rules/BUILD</code> must exist (an empty + statement to work, <code>path/to/rules/BUILD</code> must exist (an empty 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 @@ -81,20 +81,6 @@ This will make <code>COMPILER_FLAGS</code> exported from to make the <code>.bzl</code> file visible. </p> -<p> - Note: The <code>load</code> statement still supports the legacy syntax that refers - to Skylark modules by their paths and not by their labels. This statement is - equivalent to the first example: -</p> - -<pre class="code"> -load("/tools/build_rules/build_test", "build_test") -</pre> - -<p> - However, this syntax is deprecated and will be removed soon. -</p> - <!-- ================================================================= package() ================================================================= |