From 7201e744e0cc73925c5e2bef3e31c5101358ba9f Mon Sep 17 00:00:00 2001 From: aryeh Date: Tue, 22 Nov 2022 08:33:25 -0800 Subject: [PATCH] Add link to Further Rule Documentation Update https://bazel.build/rules/lib/rule to point to https://bazel.build/extending/rules for more information about `rule(...)`. Issue reference: https://github.com/bazelbuild/bazel/issues/16373 Closes #16372. PiperOrigin-RevId: 490250575 Change-Id: Ib5e926421d73ce9843ed71d902bd0f6d20b06709 --- .../com/google/devtools/build/lib/packages/RuleFunction.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/google/devtools/build/lib/packages/RuleFunction.java b/src/main/java/com/google/devtools/build/lib/packages/RuleFunction.java index 3d6aab70744642..54429fcc1032b2 100644 --- a/src/main/java/com/google/devtools/build/lib/packages/RuleFunction.java +++ b/src/main/java/com/google/devtools/build/lib/packages/RuleFunction.java @@ -25,7 +25,8 @@ doc = "A callable value representing the type of a native or Starlark rule. Calling the value" + " during evaluation of a package's BUILD file creates an instance of the rule and" - + " adds it to the package's target set.") + + " adds it to the package's target set. For more information, visit this page about" + + "Rules.") public interface RuleFunction extends StarlarkCallable { RuleClass getRuleClass(); }