diff options
author | 2017-08-09 10:34:27 +0200 | |
---|---|---|
committer | 2017-08-09 11:36:00 +0200 | |
commit | 9e18b0a4f45c775bb58ee578a2f4ac0118e36275 (patch) | |
tree | 513cd0d80327dd52a38e4bde0c830d22c11feb83 | |
parent | f5b891a08eb0b8a2abf4422ad46bf2afd4c6b606 (diff) |
Fix broken link to cc_binary
Invalid url https://docs.bazel.build/versions/master/tutorial/docs/be/c-cpp.html#cc_binary
Valid url: https://docs.bazel.build/versions/master/be/c-cpp.html#cc_binary
Closes #3511.
PiperOrigin-RevId: 164698249
-rw-r--r-- | site/docs/tutorial/cpp.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/docs/tutorial/cpp.md b/site/docs/tutorial/cpp.md index 36de924898..9f240f4290 100644 --- a/site/docs/tutorial/cpp.md +++ b/site/docs/tutorial/cpp.md @@ -130,7 +130,7 @@ cc_binary( ``` In our example, the `hello-world` target instantiates Bazel's built-in -[`cc_binary` rule](docs/be/c-cpp.html#cc_binary). The rule tells Bazel to build +[`cc_binary` rule](../be/c-cpp.html#cc_binary). The rule tells Bazel to build a self-contained executable binary from the `hello-world.cc` source file with no dependencies. @@ -229,7 +229,7 @@ cc_binary( ``` With this `BUILD` file, Bazel first builds the `hello-greet` library -(using Bazel's built-in [`cc_library` rule](docs/be/c-cpp.html#cc_library), +(using Bazel's built-in [`cc_library` rule](../be/c-cpp.html#cc_library), then the `hello-world` binary. The `deps` attribute in the `hello-world` target tells Bazel that the `hello-greet` library is required to build the `hello-world` binary. |