From d88ade4aeaffe91fd2a9fa06c875c6511b24afb9 Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Wed, 11 Sep 2024 14:38:43 +0200 Subject: [PATCH] Add docs changes --- .../build/lib/bazel/bzlmod/ModuleFileGlobals.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/ModuleFileGlobals.java b/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/ModuleFileGlobals.java index a0942ea77add66..a4aa6635809cdc 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/ModuleFileGlobals.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/ModuleFileGlobals.java @@ -784,7 +784,10 @@ public void include(String label, StarlarkThread thread) doc = "A list of labels pointing to patch files to apply for this module. The patch files" + " must exist in the source tree of the top level project. They are applied in" - + " the list order.", + + " the list order." + + "" + + "

If a patch makes changes to the MODULE.bazel file, these changes will" + + " only be effective if the patch file is provided by the root module.", allowedTypes = {@ParamType(type = Iterable.class, generic1 = String.class)}, named = true, positional = false, @@ -792,7 +795,9 @@ public void include(String label, StarlarkThread thread) @Param( name = "patch_cmds", doc = - "Sequence of Bash commands to be applied on Linux/Macos after patches are applied.", + "Sequence of Bash commands to be applied on Linux/Macos after patches are applied." + + "" + + "

Changes to the MODULE.bazel file will not be effective.", allowedTypes = {@ParamType(type = Iterable.class, generic1 = String.class)}, named = true, positional = false,