diff --git a/src/main/java/com/google/devtools/build/docgen/templates/attributes/binary/env.html b/src/main/java/com/google/devtools/build/docgen/templates/attributes/binary/env.html index 303b06951f83d8..b5c3fbc8f0978c 100644 --- a/src/main/java/com/google/devtools/build/docgen/templates/attributes/binary/env.html +++ b/src/main/java/com/google/devtools/build/docgen/templates/attributes/binary/env.html @@ -8,7 +8,12 @@

This attribute only applies to native rules, like cc_binary, py_binary, - and sh_binary. It does not apply to Starlark-defined executable rules. + and sh_binary. It does not apply to Starlark-defined executable rules. For your own + Starlark rules, you can add an "env" attribute and use it to populate a + + RunEnvironmentInfo + + Provider.

diff --git a/src/main/java/com/google/devtools/build/docgen/templates/attributes/test/env.html b/src/main/java/com/google/devtools/build/docgen/templates/attributes/test/env.html index c8ee7a350602ea..6887329115127b 100644 --- a/src/main/java/com/google/devtools/build/docgen/templates/attributes/test/env.html +++ b/src/main/java/com/google/devtools/build/docgen/templates/attributes/test/env.html @@ -1,7 +1,7 @@

Dictionary of strings; values are subject to $(location) and - "Make variable" substitution; default is [] + "Make variable" substitution; default is {}

@@ -15,7 +15,7 @@ Starlark-defined test rules. For your own Starlark rules, you can add an "env" attribute and use it to populate a - TestEnvironment + RunEnvironmentInfo Provider.