aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools
diff options
context:
space:
mode:
authorGravatar Laurent Le Brun <laurentlb@google.com>2017-02-16 14:43:56 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2017-02-16 16:57:15 +0000
commit97b6af8d71bf54bfa62f18e90a458394da76087a (patch)
treea6e91106436ec7977ed976f4fc6432701135c722 /src/main/java/com/google/devtools
parent7914e1457ec3f3fa8cf28800a59e285e26890f6c (diff)
Clarify that package() comes after load()
-- PiperOrigin-RevId: 147714630 MOS_MIGRATED_REVID=147714630
Diffstat (limited to 'src/main/java/com/google/devtools')
-rw-r--r--src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm2
1 files changed, 1 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 494524a7e4..d702b0ed1b 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
@@ -94,7 +94,7 @@ package(default_deprecation, default_testonly, default_visibility, features)
<p>This function declares metadata that applies to every subsequent rule in the
package. It is used at most once within a package (BUILD file).</p>
-<p>It is recommended that the package function is called at the top of the
+<p>The package() function should be called right after all the load() statements at the top of the
file, before any rule.</p>
<h3 id="package_args">Arguments</h3>