aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build
diff options
context:
space:
mode:
authorGravatar brandjon <brandjon@google.com>2018-03-10 20:37:31 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-03-10 20:39:24 -0800
commit260f6b2542ad99ca832d7edb11f81ea798ef7a7c (patch)
tree1dcf123314268c2b7fab9a4fb08a851e1ee4bcb6 /src/main/java/com/google/devtools/build
parent27bb6dda6051aa5253488497053f18a0c37dc645 (diff)
Fix broken links and formatting
RELNOTES: None PiperOrigin-RevId: 188625855
Diffstat (limited to 'src/main/java/com/google/devtools/build')
-rw-r--r--src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java4
-rw-r--r--src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkRuleClassFunctions.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java b/src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java
index dcc5080ca6..c053036424 100644
--- a/src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java
+++ b/src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java
@@ -66,8 +66,8 @@ import javax.annotation.concurrent.GuardedBy;
"An action created during rule analysis."
+ "<p>This object is visible for the purpose of testing, and may be obtained from an "
+ "<a href=\"globals.html#Actions\">Actions</a> provider. It is normally not necessary "
- + "to access `Action` objects or their fields within a rule's implementation function. "
- + "You may instead want to see the "
+ + "to access <code>Action</code> objects or their fields within a rule's implementation "
+ + "function. You may instead want to see the "
+ "<a href='../rules.$DOC_EXT#actions'>Rules page</a> for a general discussion of how to "
+ "use actions when defining custom rules, or the <a href='actions.html'>API reference"
+ "</a> for creating actions."
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkRuleClassFunctions.java b/src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkRuleClassFunctions.java
index 3c5210b140..c689435365 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkRuleClassFunctions.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkRuleClassFunctions.java
@@ -237,7 +237,7 @@ public class SkylarkRuleClassFunctions {
+ "<a href='File.html'><code>File</code></a> object representing the file that should "
+ "be executed to run the target. By default it is the predeclared output "
+ "<code>ctx.outputs.executable</code>."
- + "<li><code>files</code>: A <a href='depset.html'><code>depset<code></a> of "
+ + "<li><code>files</code>: A <a href='depset.html'><code>depset</code></a> of "
+ "<a href='File.html'><code>File</code></a> objects representing the default outputs "
+ "to build when this target is specified on the blaze command line. By default it is "
+ "all predeclared outputs."
@@ -414,7 +414,7 @@ public class SkylarkRuleClassFunctions {
doc =
"A schema for defining predeclared outputs. Unlike <a href='attr.html#output'><code>"
+ "output</code></a> and <a href='attr.html#output_list'><code>output_list</code>"
- + "</a>attributes, the user does not specify the labels for these files. See the "
+ + "</a> attributes, the user does not specify the labels for these files. See the "
+ "<a href='../rules.$DOC_EXT#files'>Rules page</a> for more on predeclared "
+ "outputs."
+ "<p>The value of this argument is either a dictionary or a callback function "