aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/tutorial
diff options
context:
space:
mode:
authorGravatar Yi Cheng <wisechengyi@gmail.com>2017-08-09 10:34:27 +0200
committerGravatar Marcel Hlopko <hlopko@google.com>2017-08-09 11:36:00 +0200
commit9e18b0a4f45c775bb58ee578a2f4ac0118e36275 (patch)
tree513cd0d80327dd52a38e4bde0c830d22c11feb83 /site/docs/tutorial
parentf5b891a08eb0b8a2abf4422ad46bf2afd4c6b606 (diff)
Fix broken link to cc_binary
Diffstat (limited to 'site/docs/tutorial')
-rw-r--r--site/docs/tutorial/cpp.md4
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.