aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/docgen
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2018-01-19 06:49:03 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-01-19 06:50:31 -0800
commit2b4584745a9830de25b8282d08751fbcb1c9972d (patch)
tree7b55acc0e49ba64d56c732a9f917d1a29c2d8409 /src/main/java/com/google/devtools/build/docgen
parent74706da1b101e08500978633755005b37c017da6 (diff)
Replaced 'legal' by 'valid' in some documentation.
RELNOTES: None. PiperOrigin-RevId: 182528996
Diffstat (limited to 'src/main/java/com/google/devtools/build/docgen')
-rw-r--r--src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm8
1 files changed, 4 insertions, 4 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 b0b9ac6e81..722a845392 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
@@ -340,7 +340,7 @@ package_group(
</p>
-<p>Legal license types include:</p>
+<p>Valid license types include:</p>
<dl>
<dt><code>restricted</code></dt><dd>Requires mandatory source
distribution.</dd>
@@ -431,8 +431,8 @@ In addition filename patterns can contain the recursive <code>**</code>
wildcard. This wildcard will match zero or more complete
path segments separated by the directory separator <code>/</code>.
This wildcard can only be used as a complete path segment. For example,
-<code>"x/**/*.java"</code> is legal, but <code>"test**/testdata.xml"</code>
-and <code>"**.java"</code> are both illegal. No other wildcards are supported.
+<code>"x/**/*.java"</code> is valid, but <code>"test**/testdata.xml"</code>
+and <code>"**.java"</code> are both invalid. No other wildcards are supported.
</p>
<p>
Glob returns a sorted list of every file in the current package that:
@@ -756,7 +756,7 @@ cc_binary(
<p>A workspace name must start with a letter and can contain letters, numbers,
and underscores (this is to maximize the number of languages for which this
- string can be a legal package/module name). It should describe the project in
+ string can be a valid package/module name). It should describe the project in
reverse-DNS form, with elements separated by underscores. For example, if a
project is hosted at example.com/some-project, you might use
com_example_some_project as the workspace name.