Doc: mention that sibling must be in the same package.
RELNOTES: None.
@@ -109,6 +109,7 @@ public class SkylarkActionFactory implements SkylarkValue {
+ "package directory, otherwise the file is in the same directory as "
+ "<code>sibling</code>. "
+ "You must create an action that generates the file. <br>"
+ + "Files cannot be created outside of the current package. "
+ "Files that are specified in rule's outputs do not need to be declared and are "
+ "available through <a href=\"ctx.html#outputs\">ctx.outputs</a>.",
parameters = {
@@ -122,7 +123,9 @@ public class SkylarkActionFactory implements SkylarkValue {
),
@Param(
name = "sibling",
- doc = "A file that lives in the same directory as the newly created file.",
+ doc =
+ "A file that lives in the same directory as the newly created file. "
+ + "The file must be in the current package.",
type = Artifact.class,
noneable = true,
positional = false,
