aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/docgen/BUILD
diff options
context:
space:
mode:
authorGravatar David Chen <dzc@google.com>2016-02-24 22:17:42 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2016-02-25 14:13:22 +0000
commitac13e22630ef3bd6cc67cda14633f976b5ffc044 (patch)
tree70d0ff60ab00b93128ec73fdcf495c72b6898115 /src/test/java/com/google/devtools/build/docgen/BUILD
parent6e30521e0d230ba8138cb8bbe3bf3f4fb4fbfa60 (diff)
Add syntax for referencing docs in other rule families.
This CL implements a new `${link rule.attribute}` syntax which can be used to reference the documentation of rules and attributes of other rule families. For example, `${link cc_library.deps}` will generate a link to the documentation for the `deps` attribute of the `cc_library` rule. Similarly, this syntax can also be used to reference sections of static documentation, for example `${link common-definitions.label-expansion}`. -- MOS_MIGRATED_REVID=115492361
Diffstat (limited to 'src/test/java/com/google/devtools/build/docgen/BUILD')
-rw-r--r--src/test/java/com/google/devtools/build/docgen/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/java/com/google/devtools/build/docgen/BUILD b/src/test/java/com/google/devtools/build/docgen/BUILD
index 81c2fa612b..7d04dec7ea 100644
--- a/src/test/java/com/google/devtools/build/docgen/BUILD
+++ b/src/test/java/com/google/devtools/build/docgen/BUILD
@@ -29,6 +29,7 @@ java_library(
"DocCheckerUtilsTest.java",
"RuleDocumentationAttributeTest.java",
"RuleDocumentationTest.java",
+ "RuleLinkExpanderTest.java",
"SkylarkDocumentationTest.java",
],
deps = [