From ba306ec7c9bef5369cacebc8248350dd077381c3 Mon Sep 17 00:00:00 2001 From: Damien Martin-Guillerez Date: Fri, 28 Oct 2016 10:01:24 +0000 Subject: Global cleanup change. -- MOS_MIGRATED_REVID=137494506 --- site/designs/_posts/2016-02-16-cpp-autoconf.md | 2 +- .../_posts/2016-05-23-beautiful-error-messages.md | 16 ++++++++-------- site/designs/_posts/2016-06-02-sandboxing.md | 2 +- .../_posts/2016-08-04-extensibility-for-native-rules.md | 2 +- .../designs/_posts/2016-09-05-build-python-on-windows.md | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) (limited to 'site/designs/_posts') diff --git a/site/designs/_posts/2016-02-16-cpp-autoconf.md b/site/designs/_posts/2016-02-16-cpp-autoconf.md index c80fc8cb62..650efd9ec8 100644 --- a/site/designs/_posts/2016-02-16-cpp-autoconf.md +++ b/site/designs/_posts/2016-02-16-cpp-autoconf.md @@ -131,7 +131,7 @@ To ease the writing of crosstool, we should also provide a `template(path, label, variables)` method which will write the file pointed by path using the file pointed by label (should be a FileValue) in which variables have been replaced in the same way that -[template_action](http://bazel.io/docs/skylark/lib/ctx.html#template_action) +[template_action](http://bazel.build/docs/skylark/lib/ctx.html#template_action) works. ## Rollout plan diff --git a/site/designs/_posts/2016-05-23-beautiful-error-messages.md b/site/designs/_posts/2016-05-23-beautiful-error-messages.md index dd8d0e569a..6f1852d8af 100644 --- a/site/designs/_posts/2016-05-23-beautiful-error-messages.md +++ b/site/designs/_posts/2016-05-23-beautiful-error-messages.md @@ -84,7 +84,7 @@ Suggested:
ERROR: /path/BUILD:6:16: my\_obj of type 'select' is not iterable. You can iterate only on string, lists, tuples, or dicts.
 t = [x for x in my\_obj]
                 ^-----
-Related documentation: http://www.bazel.io/docs/be/functions.html#select
+Related documentation: http://www.bazel.build/docs/be/functions.html#select
 
*** @@ -115,7 +115,7 @@ Suggested: glob(["*.cc"], excludes = ["foo.cc"]) ^------- exclude -Related documentation: http://www.bazel.io/docs/be/functions.html#glob +Related documentation: http://www.bazel.build/docs/be/functions.html#glob *** @@ -149,7 +149,7 @@ Suggested: deps = ":lib", ^----- [":lib"] -Related documentation: http://www.bazel.io/docs/be/c-cpp.html#cc\_library +Related documentation: http://www.bazel.build/docs/be/c-cpp.html#cc\_library *** @@ -169,7 +169,7 @@ Suggested: deps = VAR, ^-- [VAR] -Related documentation: http://www.bazel.io/docs/be/c-cpp.html#cc\_library +Related documentation: http://www.bazel.build/docs/be/c-cpp.html#cc\_library *** @@ -188,7 +188,7 @@ Suggested: deps = ["/test:foo.cc"], ^------------- "//test:foo.cc" -Related documentation: http://www.bazel.io/docs/build-ref.html#labels +Related documentation: http://www.bazel.build/docs/build-ref.html#labels *** @@ -209,7 +209,7 @@ Current: Suggested:
ERROR: /path/BUILD:3:12: In srcs attribute of //test:name (cc\_library), '//test:x' does not produce any cc\_library srcs files (expected extension .cc, .cpp, .cxx, .c++, .C, .c, .h, .hh, .hpp, .hxx, .inc, .S, .s, .asm, .a, .pic.a, .lo, .pic.lo, .so, .dylib, .o or .pic.o). Target //test:x (genrule) generated 'file.ext'.
-Related documentation: http://www.bazel.io/docs/be/c-cpp.html#cc\_library
+Related documentation: http://www.bazel.build/docs/be/c-cpp.html#cc\_library
 
*** @@ -227,7 +227,7 @@ Suggested:
ERROR: /path/BUILD:3:5: In deps attribute of //test:name (cc\_library), '//base:scheduling\_domain-test' (cc\_library) is marked as testonly. You may either add:
     testonly = 1
 to //test:name definition, or remove testonly from //base:scheduling\_domain-test, or remove the dependency.
-Related documentation: http://www.bazel.io/docs/be/common-definitions.html#common.testonly
+Related documentation: http://www.bazel.build/docs/be/common-definitions.html#common.testonly
 
*** @@ -244,7 +244,7 @@ Current: Suggested:
ERROR: /path/BUILD:3:5: In srcs attribute of //test:name (cc\_library), '//base:arena.cc' (file) is not visible. You may change the visibility of the file using exports\_file, or expose the file via a library rule, or remove the dependency.
 //base:arena.cc has currently private visibility.
-Related documentation: http://www.bazel.io/docs/be/common-definitions.html#common.visibility
+Related documentation: http://www.bazel.build/docs/be/common-definitions.html#common.visibility
 
*** diff --git a/site/designs/_posts/2016-06-02-sandboxing.md b/site/designs/_posts/2016-06-02-sandboxing.md index 99c9598575..579bd11b11 100644 --- a/site/designs/_posts/2016-06-02-sandboxing.md +++ b/site/designs/_posts/2016-06-02-sandboxing.md @@ -115,7 +115,7 @@ included in the environment of a Spawn is: (as we currently do). * If a rule declares its need for an environment variable, take it. * We already have an [“env” attribute in Skylark actions] - (http://www.bazel.io/docs/skylark/lib/ctx.html#action) that allows one to + (http://www.bazel.build/docs/skylark/lib/ctx.html#action) that allows one to set variables to hard-coded strings, we have `use_default_shell_env` in Skylark actions, which pulls in `PATH` and `TMPDIR`, but we don't have any way to just say "This rule needs this environment variable". Laurent diff --git a/site/designs/_posts/2016-08-04-extensibility-for-native-rules.md b/site/designs/_posts/2016-08-04-extensibility-for-native-rules.md index 7a70b17c1c..2b1c258587 100644 --- a/site/designs/_posts/2016-08-04-extensibility-for-native-rules.md +++ b/site/designs/_posts/2016-08-04-extensibility-for-native-rules.md @@ -89,7 +89,7 @@ native rule implementation (lang.java.compile) both consumes the entire providers from dependencies and returns the provider that needs to be returned from the rule. `lang.java.transitive` is a function that passes all the transitive information correctly from dependencies. The [existing '.java' -provider](http://www.bazel.io/docs/skylark/lib/JavaSkylarkApiProvider.html) +provider](http://www.bazel.build/docs/skylark/lib/JavaSkylarkApiProvider.html) becomes the same thing as lang.java.provider. Note: for the sake for this document we are placing things in lang.java. There diff --git a/site/designs/_posts/2016-09-05-build-python-on-windows.md b/site/designs/_posts/2016-09-05-build-python-on-windows.md index b60668becf..9018da50d6 100644 --- a/site/designs/_posts/2016-09-05-build-python-on-windows.md +++ b/site/designs/_posts/2016-09-05-build-python-on-windows.md @@ -30,7 +30,7 @@ experimental on Windows. ## Problem -Currently, as described on [bazel.io](/docs/be/python.html#py_binary), +Currently, as described on [bazel.build](/docs/be/python.html#py_binary), the way py\_binary works on Unix is: _A py\_binary is an executable Python program consisting of a collection -- cgit v1.2.3