aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm')
-rw-r--r--src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm10
1 files changed, 5 insertions, 5 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 3bea6a4c26..780716cfe1 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
@@ -589,10 +589,9 @@ $ bazel query '//foo:all' | sort
<pre>select({conditionA: valuesA, conditionB: valuesB, ...})</pre>
-<p><code>select()</code> is the helper function that makes an
- attribute for a
- rule <a href="common-definitions.html#configurable-attributes">configurable</a>. It can
- replace the right-hand side of
+<p><code>select()</code> is the helper function that makes a rule attribute
+ <a href="common-definitions.html#configurable-attributes">configurable</a>.
+ It can replace the right-hand side of
<i>almost</i>
any attribute assignment so that the attribute's value depends on the
@@ -648,7 +647,8 @@ sh_binary(
srcs = select({ ":conditionA": ["a.sh"]}) + select({ ":conditionB":
["b.sh"]})</code> are valid expressions.
</li>
- <li><code>select</code> works with most, but not all, attributes.
+ <li><code>select</code> works with most, but not all, attributes. Incompatible
+ attributes are marked <code>nonconfigurable</code> in their documentation.
</li>
</ul>