aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java
diff options
context:
space:
mode:
authorGravatar Florian Weikert <fwe@google.com>2017-02-21 21:30:45 +0000
committerGravatar Irina Iancu <elenairina@google.com>2017-02-22 08:28:25 +0000
commit85cc0431bf7ab5e87664f0932c6aa46de5fb0a8d (patch)
tree07bd216bf22eeff236da4cea566051881788ad3b /src/test/java
parent7463237970f82ace1864f461034d8570fba647f2 (diff)
Skylark documentation pipeline automatically generates documentation for all Skylark modules.
With this change, we no longer have to manually register modules whose generation should be generated. Manual registration turned out to be prone to errors since engineers didn't know about it or simply forgot to register their modules. As a result, we had ~20 modules that featured nice documentation texts, but that were not being picked up by the documentation pipeline. -- PiperOrigin-RevId: 148136776 MOS_MIGRATED_REVID=148136776
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/com/google/devtools/build/docgen/SkylarkDocumentationTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/docgen/SkylarkDocumentationTest.java b/src/test/java/com/google/devtools/build/docgen/SkylarkDocumentationTest.java
index 604c444aac..b491d26049 100644
--- a/src/test/java/com/google/devtools/build/docgen/SkylarkDocumentationTest.java
+++ b/src/test/java/com/google/devtools/build/docgen/SkylarkDocumentationTest.java
@@ -75,7 +75,7 @@ public class SkylarkDocumentationTest extends SkylarkTestCase {
}
@SuppressWarnings("unchecked")
- private void checkSkylarkTopLevelEnvItemsAreDocumented(Environment env) {
+ private void checkSkylarkTopLevelEnvItemsAreDocumented(Environment env) throws Exception {
Map<String, String> docMap = new HashMap<>();
Map<String, SkylarkModuleDoc> modules = SkylarkDocumentationCollector.collectModules();
SkylarkModuleDoc topLevel =