aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2015-05-11 14:52:39 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-05-11 16:25:08 +0000
commitdd0d0090b38a8ef042b7c93a140c8ddf97af25c1 (patch)
treec50eea4a6ae80336be7c4ac082f2160fe10ea94d
parent5ae8daf192f737350f0abdb5232a3370f40b56e1 (diff)
Add missing anchors to the Skylark documentation.
-- MOS_MIGRATED_REVID=93306731
-rw-r--r--src/main/java/com/google/devtools/build/lib/analysis/TransitiveInfoCollection.java17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/TransitiveInfoCollection.java b/src/main/java/com/google/devtools/build/lib/analysis/TransitiveInfoCollection.java
index 6788ff4037..e9b0ce5f65 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/TransitiveInfoCollection.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/TransitiveInfoCollection.java
@@ -85,14 +85,15 @@ import javax.annotation.Nullable;
@SkylarkModule(name = "Target", doc =
"A BUILD target. It is essentially a <code>struct</code> with the following fields:"
+ "<ul>"
- + "<li><h3>label</h3><code><a class=\"anchor\" href=\"#modules.Label\">Label</a> "
- + "Target.label</code><br>The identifier of the target.</li>"
- + "<li><h3>files</h3><code><a class=\"anchor\" href=\"#modules.set\">set</a> Target.files"
- + "</code><br>The (transitive) set of <a class=\"anchor\" href=\"#modules.File\">File</a>s "
- + "produced by this target.</li>"
- + "<li><h3>Extra providers</h3>For rule targets all additional providers provided by this "
- + "target are accessible as <code>struct</code> fields. These extra providers are defined "
- + "in the <code>struct</code> returned by the rule implementation function.</li>"
+ + "<li><h3 id=\"modules.Target.label\">label</h3><code><a class=\"anchor\" "
+ + "href=\"#modules.Label\">Label</a> Target.label</code><br>The identifier of the target.</li>"
+ + "<li><h3 id=\"modules.Target.files\">files</h3><code><a class=\"anchor\" "
+ + "href=\"#modules.set\">set</a> Target.files </code><br>The (transitive) set of <a "
+ + "class=\"anchor\" href=\"#modules.File\">File</a>s produced by this target.</li>"
+ + "<li><h3 id=\"modules.Target.extraproviders\">Extra providers</h3>For rule targets all "
+ + "additional providers provided by this target are accessible as <code>struct</code> fields. "
+ + "These extra providers are defined in the <code>struct</code> returned by the rule "
+ + "implementation function.</li>"
+ "</ul>")
public interface TransitiveInfoCollection extends Iterable<TransitiveInfoProvider> {