aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java
diff options
context:
space:
mode:
authorGravatar David Chen <dzc@google.com>2016-01-25 11:18:47 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-01-25 16:52:14 +0000
commit952076b5490f211143e48e6521650b9af30a27e0 (patch)
tree7227054c9bbacd66a4c777d405c6cf3d89dad1c1 /src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java
parentbaeb945e1a9937a47df666db6ed17211c394842b (diff)
Remove unused ${ATTRIBUTE_DEFINITION} and ${ATTRIBUTE_SIGNATURE} variables from
Bazel native rule inline documentation. These variables are no longer used because the docgen templates now directly generate the table of attributes instead of using ATTRIBUTE_DEFINITION and call RuleDocumentation.getAttributeSignature() instead of using ATTRIBUTE_SIGNATURE. RuleDocumentation.getHtmlDocumentation() currently resolves both of these variables to the empty string. -- MOS_MIGRATED_REVID=112933659
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java b/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java
index fcfb9b0a55..fbeb36f179 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java
@@ -57,14 +57,10 @@ public class LocalRepositoryRule implements RuleDefinition {
}
/*<!-- #BLAZE_RULE (NAME = local_repository, TYPE = OTHER, FAMILY = Workspace)[GENERIC_RULE] -->
-${ATTRIBUTE_SIGNATURE}
-
<p>Allows targets from a local directory to be bound. This means that the current repository can
use targets defined in this other directory. See the <a href="#bind_examples">bind section</a>
for more details.</p>
-${ATTRIBUTE_DEFINITION}
-
<h4 id="local_repository_examples">Examples</h4>
<p>Suppose the current repository is a chat client, rooted at the directory <i>~/chat-app</i>. It