diff --git a/content/docs/reference/modules/en.md b/content/docs/reference/modules/en.md index b9804283d..6fd1275c3 100644 --- a/content/docs/reference/modules/en.md +++ b/content/docs/reference/modules/en.md @@ -198,7 +198,7 @@ package `foo.example/a/b` is imported, and the module `foo.example/a` is in the build list, CUE will check whether `foo.example/a` contains the package, in the directory `b`. At least one file with the `.cue` extension must be present in a directory for it to be considered a package. [Build -constraints](/pkg/go/build/#hdr-Build_Constraints) are not applied for this +constraints](#glos-build-constraint) are not applied for this purpose. If exactly one module in the build list provides the package, that module is used. If no modules provide the package or if two or more modules provide the package, CUE reports an error. The `cue mod tidy` command diff --git a/hugo/content/en/docs/reference/modules/index.md b/hugo/content/en/docs/reference/modules/index.md index b551e0e71..ea11d887c 100644 --- a/hugo/content/en/docs/reference/modules/index.md +++ b/hugo/content/en/docs/reference/modules/index.md @@ -198,7 +198,7 @@ package `foo.example/a/b` is imported, and the module `foo.example/a` is in the build list, CUE will check whether `foo.example/a` contains the package, in the directory `b`. At least one file with the `.cue` extension must be present in a directory for it to be considered a package. [Build -constraints](/pkg/go/build/#hdr-Build_Constraints) are not applied for this +constraints](#glos-build-constraint) are not applied for this purpose. If exactly one module in the build list provides the package, that module is used. If no modules provide the package or if two or more modules provide the package, CUE reports an error. The `cue mod tidy` command