Update documentation about allowed characters in BUILD labels
RELNOTES: Fix documentation on allowed target names.
PiperOrigin-RevId: 276705062
diff --git a/site/docs/build-ref.html b/site/docs/build-ref.html
index 7d32ddf..5a0991c 100644
--- a/site/docs/build-ref.html
+++ b/site/docs/build-ref.html
@@ -305,11 +305,7 @@
<a href='query.html'>Bazel Query Language</a>.
- All of the following are forbidden in labels: any sort of white
- space, braces, brackets, or parentheses; wildcards such
- as <code>*</code>; shell metacharacters such
- as <code>></code>, <code>&</code> and <code>|</code>; etc.
- This list is not comprehensive; the precise details are below.
+ The precise details of allowed target names are below.
</p>
<h4 id="name">Target names, <code>//...:<b>target-name</b></code></h4>
@@ -322,7 +318,7 @@
Target names must be composed entirely of
characters drawn from the set <code>a</code>–<code>z</code>,
<code>A</code>–<code>Z</code>, <code>0</code>–<code>9</code>,
- and the punctuation symbols <code>!%-@^_` "#$&'()*-+,;<=>?[]{|}~</code>.
+ and the punctuation symbols <code>!%-@^_` "#$&'()*-+,;<=>?[]{|}~/.</code>.
Do not use <code>..</code> to refer to files in other packages; use
<code>//<var>packagename</var>:<var>filename</var></code> instead.
Filenames must be relative pathnames in normal form, which means