aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/syntax
diff options
context:
space:
mode:
authorGravatar Sam Rawlins <srawlins@google.com>2018-06-07 07:25:49 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-07 07:27:12 -0700
commit71d0f6ca22419d928078ba3eb6fecfc80043e018 (patch)
treeeed94e0c28df89425b2e5c14586dddd92599ded4 /src/main/java/com/google/devtools/build/lib/syntax
parentc62d2271105ddeba2e738514f8ada38358493bc7 (diff)
Fix a few generated docs.
In particular, * fix sentences with no space after the period, like [here]([] * switch backticks to `<code>`, like [here]([] * link `ctx.var` [here]([] * Add periods to the end of paragraphs, like [here]([] * Format a list [here]([] Closes #5337. PiperOrigin-RevId: 199631585
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/syntax')
-rw-r--r--src/main/java/com/google/devtools/build/lib/syntax/Runtime.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/Runtime.java b/src/main/java/com/google/devtools/build/lib/syntax/Runtime.java
index 9774ec5bb9..48129f4955 100644
--- a/src/main/java/com/google/devtools/build/lib/syntax/Runtime.java
+++ b/src/main/java/com/google/devtools/build/lib/syntax/Runtime.java
@@ -124,18 +124,18 @@ public final class Runtime {
public static final String PKG_NAME = "PACKAGE_NAME";
@SkylarkSignature(
- name = "REPOSITORY_NAME",
- returnType = String.class,
- doc =
- "<b>Deprecated. Use <a href=\"native.html#repository_name\">repository_name()</a> "
- + "instead.</b> The name of the repository the rule or build extension is called from. "
- + "For example, in packages that are called into existence by the WORKSPACE stanza "
- + "<code>local_repository(name='local', path=...)</code> it will be set to "
- + "<code>@local</code>. In packages in the main repository, it will be set to "
- + "<code>@</code>. It can only be accessed in functions (transitively) called from "
- + "BUILD files, i.e. it follows the same restrictions as "
- + "<a href=\"#PACKAGE_NAME\">PACKAGE_NAME</a>"
- )
+ name = "REPOSITORY_NAME",
+ returnType = String.class,
+ doc =
+ "<b>Deprecated. Use <a href=\"native.html#repository_name\">repository_name()</a> "
+ + "instead.</b> The name of the repository the rule or build extension is called "
+ + "from. "
+ + "For example, in packages that are called into existence by the WORKSPACE stanza "
+ + "<code>local_repository(name='local', path=...)</code> it will be set to "
+ + "<code>@local</code>. In packages in the main repository, it will be set to "
+ + "<code>@</code>. It can only be accessed in functions (transitively) called from "
+ + "BUILD files, i.e. it follows the same restrictions as "
+ + "<a href=\"#PACKAGE_NAME\">PACKAGE_NAME</a>.")
public static final String REPOSITORY_NAME = "REPOSITORY_NAME";
/** Adds bindings for False/True/None constants to the given map builder. */